Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007387/0.007387, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001327, allocations: 193.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7285/0.7285, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.408, allocations: 80.2 MB / 0.6592 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.204/0.6121, allocations: 193.8 MB / 0.8485 GB, free: 3.684 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008773/0.6209, allocations: 5.148 MB / 0.8535 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.6222, allocations: 47.69 kB / 0.8536 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.6241, allocations: 0.8237 MB / 0.8544 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.6303, allocations: 2.684 MB / 0.857 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.6332, allocations: 1.111 MB / 0.8581 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003501/0.6367, allocations: 2.621 MB / 0.8606 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.6382, allocations: 0.9039 MB / 0.8615 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.6407, allocations: 1.121 MB / 0.8626 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.642, allocations: 0.9495 MB / 0.8635 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.6422, allocations: 76 kB / 0.8636 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.6461, allocations: 1.8 MB / 0.8654 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005302/0.6466, allocations: 434.6 kB / 0.8658 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008792/0.6475, allocations: 0.6487 MB / 0.8664 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4479/1.095, allocations: 2.17 MB / 0.8685 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.096, allocations: 1.031 kB / 0.8685 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.525e-06/1.096, allocations: 0.7812 kB / 0.8685 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.16e-05/1.096, allocations: 0 / 0.8685 GB, free: 9.738 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005906/1.102, allocations: 1.983 MB / 0.8705 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.102, allocations: 9.625 kB / 0.8705 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/1.102, allocations: 135.4 kB / 0.8706 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/1.106, allocations: 0.6698 MB / 0.8713 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/1.108, allocations: 0.9527 MB / 0.8722 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/1.108, allocations: 71.19 kB / 0.8723 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/1.109, allocations: 84.34 kB / 0.8724 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/1.112, allocations: 1.471 MB / 0.8738 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/1.112, allocations: 5.156 kB / 0.8738 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.112, allocations: 38.53 kB / 0.8738 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.68e-05/1.112, allocations: 50.17 kB / 0.8739 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/1.117, allocations: 1.516 MB / 0.8754 GB, free: 7.988 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008476/1.125, allocations: 5.489 MB / 0.8807 GB, free: 21.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/1.129, allocations: 1.278 MB / 0.882 GB, free: 20.99 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/1.131, allocations: 0.6542 MB / 0.8826 GB, free: 20.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008198/1.132, allocations: 0.5788 MB / 0.8832 GB, free: 20.42 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001879/1.134, allocations: 0.7127 MB / 0.8839 GB, free: 20.37 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.557e-06/1.134, allocations: 0.75 kB / 0.8839 GB, free: 20.37 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.00586/1.14, allocations: 1.892 MB / 0.8857 GB, free: 20.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/1.14, allocations: 60.12 kB / 0.8858 GB, free: 20.19 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/1.142, allocations: 1.243 MB / 0.887 GB, free: 20.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/1.142, allocations: 43.33 kB / 0.887 GB, free: 19.99 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/1.142, allocations: 0.5791 MB / 0.8876 GB, free: 19.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.142, allocations: 290.5 kB / 0.8879 GB, free: 19.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/1.143, allocations: 185.9 kB / 0.888 GB, free: 19.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.143, allocations: 345.8 kB / 0.8884 GB, free: 19.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/1.144, allocations: 0.5365 MB / 0.8889 GB, free: 19.29 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/1.146, allocations: 0.8219 MB / 0.8897 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/1.149, allocations: 1.329 MB / 0.891 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.15, allocations: 2.219 kB / 0.891 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00419/1.154, allocations: 1.501 MB / 0.8925 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.154, allocations: 8.844 kB / 0.8925 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.154, allocations: 8.031 kB / 0.8925 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/1.154, allocations: 12.66 kB / 0.8925 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.155, allocations: 290.3 kB / 0.8928 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.155, allocations: 23.91 kB / 0.8928 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.157, allocations: 204.9 kB / 0.893 GB, free: 18.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.157, allocations: 51.38 kB / 0.893 GB, free: 18.55 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006712/1.158, allocations: 337 kB / 0.8934 GB, free: 18.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/1.158, allocations: 143.6 kB / 0.8935 GB, free: 18.36 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/1.162, allocations: 1.404 MB / 0.8949 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.162, allocations: 10.19 kB / 0.8949 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.162, allocations: 0.625 kB / 0.8949 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.162, allocations: 4.016 kB / 0.8949 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006189/1.168, allocations: 2.805 MB / 0.8976 GB, free: 17.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.168, allocations: 10.44 kB / 0.8976 GB, free: 17.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.169, allocations: 225.1 kB / 0.8979 GB, free: 17.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/1.169, allocations: 11.31 kB / 0.8979 GB, free: 17.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/1.169, allocations: 29.02 kB / 0.8979 GB, free: 17.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/1.169, allocations: 9.875 kB / 0.8979 GB, free: 17.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.169, allocations: 4.719 kB / 0.8979 GB, free: 17.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/1.175, allocations: 2.253 MB / 0.9001 GB, free: 17.39 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/1.176, allocations: 310.4 kB / 0.9004 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.176, allocations: 19.12 kB / 0.9004 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.177, allocations: 110.5 kB / 0.9005 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.177, allocations: 62.05 kB / 0.9006 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.694e-05/1.177, allocations: 39.39 kB / 0.9006 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00133/1.178, allocations: 0.8506 MB / 0.9014 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.178, allocations: 0 / 0.9014 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001176/1.18, allocations: 323.3 kB / 0.9018 GB, free: 17.07 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006593/1.186, allocations: 3.229 MB / 0.9049 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003592/1.19, allocations: 1.29 MB / 0.9062 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.19, allocations: 0 / 0.9062 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.192, allocations: 0.6373 MB / 0.9068 GB, free: 16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/1.195, allocations: 0.5989 MB / 0.9074 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.216, allocations: 10.98 MB / 0.9181 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/1.217, allocations: 1.173 MB / 0.9193 GB, free: 12 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001545/1.219, allocations: 347.7 kB / 0.9196 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/1.22, allocations: 0.4909 MB / 0.9201 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of SimCode: time 9.62e-07/1.22, allocations: 0 / 0.9201 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07948/1.299, allocations: 33.92 MB / 0.9532 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.54, allocations: 4.719 kB / 0.9532 GB, free: 7.098 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)