Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8147/0.8147, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 179.9 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009052, allocations: 86.41 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001728/0.001729, allocations: 265.9 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 23.98 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3653, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.472/4.838, allocations: 2.038 GB / 2.777 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/4.838, allocations: 87.95 kB / 2.777 GB, free: 172 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.532/7.37, allocations: 0.6799 GB / 3.457 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/7.37, allocations: 0 / 3.457 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001216/7.37, allocations: 42.44 kB / 3.457 GB, free: 118.6 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.006252/7.376, allocations: 1.95 MB / 3.459 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/7.376, allocations: 10.44 kB / 3.459 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/7.381, allocations: 0.8767 MB / 3.46 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/7.384, allocations: 1.161 MB / 3.461 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/7.384, allocations: 71.88 kB / 3.461 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/7.384, allocations: 99.16 kB / 3.461 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/7.388, allocations: 1.544 MB / 3.463 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/7.388, allocations: 7.156 kB / 3.463 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/7.388, allocations: 34.42 kB / 3.463 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-05/7.388, allocations: 51.53 kB / 3.463 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/7.393, allocations: 1.797 MB / 3.465 GB, free: 117.5 MB / 0.6823 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.007404/7.4, allocations: 4.798 MB / 3.469 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/7.404, allocations: 1.583 MB / 3.471 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/7.405, allocations: 0.8385 MB / 3.472 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/7.407, allocations: 0.9431 MB / 3.473 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001995/7.409, allocations: 0.8916 MB / 3.474 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.005e-06/7.409, allocations: 2.625 kB / 3.474 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.007302/7.416, allocations: 2.431 MB / 3.476 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/7.416, allocations: 62.97 kB / 3.476 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/7.418, allocations: 1.213 MB / 3.477 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/7.419, allocations: 49.05 kB / 3.477 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/7.419, allocations: 0.5531 MB / 3.478 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/7.419, allocations: 327.1 kB / 3.478 GB, free: 114 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/7.419, allocations: 18.25 kB / 3.478 GB, free: 114 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/7.42, allocations: 343.9 kB / 3.478 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/7.421, allocations: 0.6905 MB / 3.479 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/7.423, allocations: 0.9646 MB / 3.48 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/7.427, allocations: 1.544 MB / 3.482 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/7.427, allocations: 3.188 kB / 3.482 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004651/7.432, allocations: 1.766 MB / 3.483 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/7.432, allocations: 12.09 kB / 3.483 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/7.432, allocations: 6.938 kB / 3.483 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.831e-05/7.432, allocations: 10.98 kB / 3.483 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/7.433, allocations: 340.4 kB / 3.484 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/7.433, allocations: 10.91 kB / 3.484 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/7.435, allocations: 270.8 kB / 3.484 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/7.436, allocations: 46.77 kB / 3.484 GB, free: 113.1 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 () * 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.0009453/7.437, allocations: 338.8 kB / 3.484 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/7.437, allocations: 137.1 kB / 3.484 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/7.442, allocations: 1.835 MB / 3.486 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/7.442, allocations: 15.02 kB / 3.486 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/7.442, allocations: 0 / 3.486 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/7.442, allocations: 11.25 kB / 3.486 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/7.449, allocations: 3.403 MB / 3.49 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/7.449, allocations: 3.781 kB / 3.49 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/7.45, allocations: 308.2 kB / 3.49 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/7.45, allocations: 12.5 kB / 3.49 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/7.45, allocations: 35.28 kB / 3.49 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/7.45, allocations: 13.41 kB / 3.49 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/7.45, allocations: 4.656 kB / 3.49 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/7.457, allocations: 2.866 MB / 3.493 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008242/7.457, allocations: 357.9 kB / 3.493 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/7.458, allocations: 28.02 kB / 3.493 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/7.459, allocations: 179 kB / 3.493 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/7.459, allocations: 72.8 kB / 3.493 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/7.459, allocations: 42.5 kB / 3.493 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001084/7.46, allocations: 0.8387 MB / 3.494 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/7.46, allocations: 0 / 3.494 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001718/7.462, allocations: 0.5138 MB / 3.495 GB, free: 111.7 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) * 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.0032/7.465, allocations: 2.034 MB / 3.497 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004121/7.47, allocations: 1.621 MB / 3.498 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/7.47, allocations: 0 / 3.498 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/7.472, allocations: 0.8401 MB / 3.499 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004348/7.476, allocations: 0.5987 MB / 3.5 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007373/7.483, allocations: 3.447 MB / 3.503 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/7.484, allocations: 1.196 MB / 3.504 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001872/7.486, allocations: 377.5 kB / 3.505 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/7.487, allocations: 120 kB / 3.505 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.874e-06/7.487, allocations: 0 / 3.505 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.06422/7.551, allocations: 43.38 MB / 3.547 GB, free: 107.2 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)