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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.008951/0.008951, allocations: 172 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.7911/0.7911, allocations: 135.2 MB / 151 MB, free: 13.81 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.708/1.708, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001078/0.001078, allocations: 99.61 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 8 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4746, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.07/5.544, allocations: 1.837 GB / 2.486 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/5.545, allocations: 96.33 kB / 2.486 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.06/9.605, allocations: 1.019 GB / 3.505 GB, free: 123.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/9.605, allocations: 2.5 kB / 3.505 GB, free: 123.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001198/9.605, allocations: 41.84 kB / 3.505 GB, free: 123.7 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.007636/9.613, allocations: 2.043 MB / 3.507 GB, free: 122.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/9.613, allocations: 7.062 kB / 3.507 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003994/9.613, allocations: 138.3 kB / 3.508 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/9.618, allocations: 0.6898 MB / 3.508 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/9.621, allocations: 1.049 MB / 3.509 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/9.622, allocations: 64.62 kB / 3.509 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/9.622, allocations: 95 kB / 3.509 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/9.625, allocations: 1.461 MB / 3.511 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/9.625, allocations: 3.953 kB / 3.511 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/9.625, allocations: 36.28 kB / 3.511 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/9.625, allocations: 48.36 kB / 3.511 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/9.628, allocations: 1.381 MB / 3.512 GB, free: 122.1 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.008819/9.637, allocations: 5.785 MB / 3.518 GB, free: 119.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/9.641, allocations: 1.387 MB / 3.519 GB, free: 119 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/9.642, allocations: 0.5824 MB / 3.52 GB, free: 118.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/9.644, allocations: 0.7919 MB / 3.521 GB, free: 118.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/9.644, allocations: 0 / 3.521 GB, free: 118.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.005981/9.65, allocations: 2.074 MB / 3.523 GB, free: 117.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/9.65, allocations: 59.25 kB / 3.523 GB, free: 117.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/9.652, allocations: 1.102 MB / 3.524 GB, free: 117.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/9.652, allocations: 47.67 kB / 3.524 GB, free: 117.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/9.652, allocations: 0.5784 MB / 3.524 GB, free: 116.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/9.652, allocations: 284 kB / 3.525 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/9.653, allocations: 19.88 kB / 3.525 GB, free: 116.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/9.653, allocations: 344.4 kB / 3.525 GB, free: 116.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/9.654, allocations: 0.6017 MB / 3.526 GB, free: 116 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/9.656, allocations: 0.9168 MB / 3.527 GB, free: 115.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/9.658, allocations: 0.6477 MB / 3.527 GB, free: 114.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/9.658, allocations: 4 kB / 3.527 GB, free: 114.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003969/9.662, allocations: 1.634 MB / 3.529 GB, free: 113.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/9.662, allocations: 11.62 kB / 3.529 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/9.662, allocations: 8 kB / 3.529 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/9.662, allocations: 12 kB / 3.529 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/9.663, allocations: 312.7 kB / 3.529 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/9.663, allocations: 19.92 kB / 3.529 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/9.665, allocations: 227.3 kB / 3.529 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/9.665, allocations: 62.67 kB / 3.529 GB, free: 112.6 MB / 0.698 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 ($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 (117): * Single equations (assignments): 117 * 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.000752/9.666, allocations: 347.6 kB / 3.53 GB, free: 112.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/9.666, allocations: 138.3 kB / 3.53 GB, free: 112.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/9.67, allocations: 1.602 MB / 3.531 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/9.67, allocations: 15.62 kB / 3.531 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/9.67, allocations: 6.719 kB / 3.531 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/9.67, allocations: 3.984 kB / 3.531 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006482/9.677, allocations: 3.114 MB / 3.534 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/9.677, allocations: 7.938 kB / 3.535 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/9.678, allocations: 252.1 kB / 3.535 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/9.678, allocations: 8 kB / 3.535 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.226e-05/9.678, allocations: 35.95 kB / 3.535 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/9.678, allocations: 8 kB / 3.535 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/9.678, allocations: 7.938 kB / 3.535 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00566/9.684, allocations: 2.752 MB / 3.537 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000995/9.685, allocations: 355 kB / 3.538 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/9.685, allocations: 24 kB / 3.538 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/9.687, allocations: 145.4 kB / 3.538 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/9.687, allocations: 71.47 kB / 3.538 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/9.687, allocations: 39.97 kB / 3.538 GB, free: 103.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00139/9.689, allocations: 0.8522 MB / 3.539 GB, free: 102.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/9.689, allocations: 0 / 3.539 GB, free: 102.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002193/9.691, allocations: 0.4958 MB / 3.539 GB, free: 102.2 MB / 0.698 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 (86): * Single equations (assignments): 80 * 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.009775/9.701, allocations: 6.287 MB / 3.546 GB, free: 96.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00402/9.705, allocations: 1.44 MB / 3.547 GB, free: 94.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/9.705, allocations: 0 / 3.547 GB, free: 94.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/9.707, allocations: 0.7224 MB / 3.548 GB, free: 94.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/9.709, allocations: 0.5604 MB / 3.548 GB, free: 93.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/9.74, allocations: 14.36 MB / 3.562 GB, free: 78.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009006/9.741, allocations: 1.203 MB / 3.563 GB, free: 77.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001989/9.743, allocations: 387.1 kB / 3.564 GB, free: 77.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000975/9.744, allocations: 0.4953 MB / 3.564 GB, free: 76.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/9.744, allocations: 0 / 3.564 GB, free: 76.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09383/9.838, allocations: 59.11 MB / 3.622 GB, free: 18.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/9.838, allocations: 223.5 kB / 3.622 GB, free: 18.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.433/14.27, allocations: 7.875 kB / 3.622 GB, free: 18.19 MB / 0.698 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)