Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00688/0.006881, allocations: 171.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7434/0.7434, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 223.2 MB / 406.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.56 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005332/0.0005334, allocations: 8 kB / 0.5692 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.5362, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.972/5.509, allocations: 1.837 GB / 2.486 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/5.509, allocations: 89.7 kB / 2.486 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.89/8.399, allocations: 0.6868 GB / 3.173 GB, free: 128 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/8.399, allocations: 0 / 3.173 GB, free: 128 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001285/8.399, allocations: 47.2 kB / 3.173 GB, free: 128 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008112/8.407, allocations: 2.063 MB / 3.175 GB, free: 127.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/8.407, allocations: 7.812 kB / 3.175 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003732/8.408, allocations: 143.5 kB / 3.175 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005216/8.413, allocations: 0.8747 MB / 3.176 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/8.417, allocations: 1.144 MB / 3.177 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/8.417, allocations: 66.59 kB / 3.177 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/8.417, allocations: 92.77 kB / 3.178 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/8.421, allocations: 1.551 MB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/8.421, allocations: 1.031 kB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/8.421, allocations: 37.06 kB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-05/8.421, allocations: 41.48 kB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004261/8.425, allocations: 1.668 MB / 3.181 GB, free: 126.6 MB / 0.698 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.01024/8.436, allocations: 5.036 MB / 3.186 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/8.44, allocations: 1.644 MB / 3.187 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/8.442, allocations: 0.9494 MB / 3.188 GB, free: 123.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002492/8.444, allocations: 0.9677 MB / 3.189 GB, free: 123.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 6.452e-06/8.444, allocations: 0 / 3.189 GB, free: 123.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.008007/8.452, allocations: 2.593 MB / 3.192 GB, free: 123.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/8.452, allocations: 65.69 kB / 3.192 GB, free: 123.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/8.454, allocations: 1.062 MB / 3.193 GB, free: 123.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/8.454, allocations: 47.58 kB / 3.193 GB, free: 123.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/8.455, allocations: 0.5495 MB / 3.193 GB, free: 123.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/8.455, allocations: 322.8 kB / 3.194 GB, free: 123.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/8.455, allocations: 22.25 kB / 3.194 GB, free: 123.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/8.455, allocations: 344.2 kB / 3.194 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/8.457, allocations: 0.7507 MB / 3.195 GB, free: 122.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/8.46, allocations: 0.9846 MB / 3.196 GB, free: 122.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/8.462, allocations: 0.7758 MB / 3.197 GB, free: 122.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/8.462, allocations: 0 / 3.197 GB, free: 122.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004877/8.466, allocations: 1.873 MB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/8.467, allocations: 8.406 kB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/8.467, allocations: 3 kB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/8.467, allocations: 12.03 kB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/8.468, allocations: 350.5 kB / 3.199 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/8.468, allocations: 12.88 kB / 3.199 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/8.47, allocations: 261.9 kB / 3.199 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/8.471, allocations: 56.45 kB / 3.199 GB, free: 122.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007589/8.471, allocations: 341.2 kB / 3.199 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/8.472, allocations: 137.8 kB / 3.199 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/8.477, allocations: 1.961 MB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/8.477, allocations: 9.219 kB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/8.477, allocations: 3.375 kB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/8.477, allocations: 3.656 kB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007812/8.485, allocations: 3.592 MB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/8.485, allocations: 6.594 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/8.486, allocations: 316.6 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/8.486, allocations: 7.625 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/8.487, allocations: 45.19 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/8.487, allocations: 7.531 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/8.487, allocations: 13.84 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007147/8.494, allocations: 3.25 MB / 3.208 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/8.495, allocations: 376.4 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/8.495, allocations: 24.61 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/8.497, allocations: 185.6 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/8.497, allocations: 79.03 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/8.497, allocations: 45.34 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001136/8.498, allocations: 0.833 MB / 3.21 GB, free: 120.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/8.498, allocations: 0 / 3.21 GB, free: 120.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002068/8.5, allocations: 0.5301 MB / 3.21 GB, free: 120.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01148/8.512, allocations: 6.801 MB / 3.217 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00524/8.517, allocations: 1.735 MB / 3.219 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/8.517, allocations: 0 / 3.219 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/8.52, allocations: 0.9046 MB / 3.22 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/8.523, allocations: 0.569 MB / 3.22 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/8.554, allocations: 13.09 MB / 3.233 GB, free: 112.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/8.555, allocations: 1.22 MB / 3.234 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002016/8.557, allocations: 401.7 kB / 3.235 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008649/8.558, allocations: 0.5188 MB / 3.235 GB, free: 111.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/8.558, allocations: 0 / 3.235 GB, free: 111.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/8.663, allocations: 60.68 MB / 3.294 GB, free: 77.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/8.663, allocations: 206.8 kB / 3.295 GB, free: 76.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.31/12.97, allocations: 0 / 3.295 GB, free: 76.87 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)