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.002392/0.002392, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9293/0.9293, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.611/1.611, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 86 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.357e-05, allocations: 7.25 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1589, allocations: 82.31 MB / 0.6405 GB, free: 7.688 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/4.837, allocations: 1.837 GB / 2.477 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/4.837, allocations: 87.95 kB / 2.477 GB, free: 94.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.794/7.631, allocations: 0.6863 GB / 3.164 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/7.631, allocations: 0 / 3.164 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000185/7.631, allocations: 45.48 kB / 3.164 GB, free: 112.9 MB / 0.6823 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.007936/7.639, allocations: 1.859 MB / 3.165 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/7.639, allocations: 12.53 kB / 3.165 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004673/7.64, allocations: 135.4 kB / 3.166 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/7.645, allocations: 0.8798 MB / 3.166 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/7.65, allocations: 1.138 MB / 3.168 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/7.65, allocations: 68.91 kB / 3.168 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/7.651, allocations: 88.59 kB / 3.168 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/7.653, allocations: 1.277 MB / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/7.653, allocations: 4.719 kB / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/7.653, allocations: 31.75 kB / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/7.654, allocations: 48.7 kB / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/7.656, allocations: 1.134 MB / 3.17 GB, free: 111.7 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00896/7.664, allocations: 5.037 MB / 3.175 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/7.666, allocations: 1.118 MB / 3.176 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/7.667, allocations: 0.6002 MB / 3.177 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/7.668, allocations: 0.9399 MB / 3.178 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/7.669, allocations: 0.7069 MB / 3.178 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.947e-06/7.669, allocations: 0 / 3.178 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.003099/7.673, allocations: 1.311 MB / 3.18 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/7.673, allocations: 64.44 kB / 3.18 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/7.675, allocations: 1.048 MB / 3.181 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/7.675, allocations: 45.92 kB / 3.181 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/7.675, allocations: 0.5517 MB / 3.181 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/7.676, allocations: 325.5 kB / 3.182 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/7.676, allocations: 24.86 kB / 3.182 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001182/7.676, allocations: 345.1 kB / 3.182 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/7.677, allocations: 492.5 kB / 3.182 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000966/7.678, allocations: 0.7134 MB / 3.183 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/7.679, allocations: 0.5166 MB / 3.184 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/7.679, allocations: 0 / 3.184 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002488/7.681, allocations: 1.344 MB / 3.185 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/7.681, allocations: 7.281 kB / 3.185 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/7.681, allocations: 5.219 kB / 3.185 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/7.681, allocations: 17.67 kB / 3.185 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/7.683, allocations: 355.7 kB / 3.185 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/7.683, allocations: 16.05 kB / 3.185 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/7.685, allocations: 260 kB / 3.186 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/7.685, allocations: 56.86 kB / 3.186 GB, free: 107.3 MB / 0.6823 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 () * 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.0003101/7.686, allocations: 170.8 kB / 3.186 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/7.686, allocations: 136.1 kB / 3.186 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/7.689, allocations: 1.43 MB / 3.187 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/7.689, allocations: 10.41 kB / 3.187 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/7.689, allocations: 3.953 kB / 3.187 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/7.689, allocations: 7.031 kB / 3.187 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/7.695, allocations: 3.066 MB / 3.19 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/7.695, allocations: 3.281 kB / 3.19 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/7.697, allocations: 313.8 kB / 3.191 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.08e-05/7.697, allocations: 10.81 kB / 3.191 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/7.697, allocations: 39.23 kB / 3.191 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/7.697, allocations: 7.656 kB / 3.191 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/7.697, allocations: 4.688 kB / 3.191 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/7.701, allocations: 2.471 MB / 3.193 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/7.702, allocations: 374.7 kB / 3.193 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/7.702, allocations: 31.25 kB / 3.193 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/7.704, allocations: 179.8 kB / 3.194 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/7.704, allocations: 65.23 kB / 3.194 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/7.704, allocations: 50.17 kB / 3.194 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00141/7.706, allocations: 0.8232 MB / 3.195 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/7.706, allocations: 3.5 kB / 3.195 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002326/7.708, allocations: 0.5256 MB / 3.195 GB, free: 105.6 MB / 0.6823 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) * 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.007586/7.716, allocations: 5.973 MB / 3.201 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002412/7.718, allocations: 1.206 MB / 3.202 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/7.718, allocations: 0 / 3.202 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/7.719, allocations: 0.6351 MB / 3.203 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/7.723, allocations: 0.5731 MB / 3.203 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/7.739, allocations: 3.397 MB / 3.207 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/7.74, allocations: 1.224 MB / 3.208 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00222/7.743, allocations: 400.7 kB / 3.208 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/7.744, allocations: 0.524 MB / 3.209 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of SimCode: time 8.51e-07/7.744, allocations: 0 / 3.209 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/7.845, allocations: 65.04 MB / 3.272 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/7.845, allocations: 184.8 kB / 3.272 GB, free: 60.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.575/12.42, allocations: 0 / 3.272 GB, free: 60.64 MB / 0.6823 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)