Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8173/0.8173, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 180.7 kB / 191.5 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.2 MB / 447.7 MB, free: 6.477 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.001188/0.001188, allocations: 88.27 kB / 0.5188 GB, free: 2.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 269.6 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004526, allocations: 15.98 kB / 0.6929 GB, free: 2.289 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4272, allocations: 82.78 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/5.149, allocations: 1.834 GB / 2.608 GB, free: 191.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/5.149, allocations: 91.83 kB / 2.608 GB, free: 191.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.282/9.431, allocations: 1.02 GB / 3.628 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.527e-06/9.431, allocations: 0 / 3.628 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00031/9.431, allocations: 39.44 kB / 3.628 GB, free: 128.1 MB / 0.7136 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.01063/9.442, allocations: 2.045 MB / 3.63 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/9.442, allocations: 9.406 kB / 3.63 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004442/9.447, allocations: 0.688 MB / 3.631 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/9.451, allocations: 1.088 MB / 3.632 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/9.451, allocations: 67.02 kB / 3.632 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000494/9.452, allocations: 87.31 kB / 3.632 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/9.456, allocations: 1.453 MB / 3.634 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/9.456, allocations: 3 kB / 3.634 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/9.456, allocations: 30.12 kB / 3.634 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.257e-05/9.456, allocations: 45.2 kB / 3.634 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/9.46, allocations: 1.408 MB / 3.635 GB, free: 126.9 MB / 0.7136 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.008963/9.469, allocations: 5.33 MB / 3.64 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/9.472, allocations: 1.305 MB / 3.642 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/9.473, allocations: 0.9414 MB / 3.643 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/9.475, allocations: 0.8065 MB / 3.643 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.787e-06/9.475, allocations: 0 / 3.643 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.006215/9.481, allocations: 2.131 MB / 3.646 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/9.481, allocations: 62.28 kB / 3.646 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/9.484, allocations: 1.123 MB / 3.647 GB, free: 123.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/9.484, allocations: 54.53 kB / 3.647 GB, free: 123.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/9.484, allocations: 0.5825 MB / 3.647 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/9.485, allocations: 281.3 kB / 3.648 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/9.485, allocations: 17.66 kB / 3.648 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001138/9.485, allocations: 340.4 kB / 3.648 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/9.487, allocations: 0.615 MB / 3.649 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/9.488, allocations: 0.9345 MB / 3.649 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/9.49, allocations: 0.6589 MB / 3.65 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/9.49, allocations: 0 / 3.65 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004452/9.495, allocations: 1.65 MB / 3.652 GB, free: 122 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/9.495, allocations: 9.188 kB / 3.652 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/9.495, allocations: 6.688 kB / 3.652 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/9.495, allocations: 12.84 kB / 3.652 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/9.496, allocations: 311.3 kB / 3.652 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/9.496, allocations: 19.47 kB / 3.652 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/9.498, allocations: 232.8 kB / 3.652 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/9.499, allocations: 64.61 kB / 3.652 GB, free: 121.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0008714/9.499, allocations: 339.4 kB / 3.653 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/9.5, allocations: 147 kB / 3.653 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/9.504, allocations: 1.636 MB / 3.654 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/9.504, allocations: 11.09 kB / 3.654 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/9.504, allocations: 0 / 3.654 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/9.504, allocations: 3.891 kB / 3.654 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/9.511, allocations: 3.147 MB / 3.657 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/9.512, allocations: 7.5 kB / 3.657 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/9.513, allocations: 252.4 kB / 3.658 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/9.513, allocations: 7.406 kB / 3.658 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/9.513, allocations: 36.38 kB / 3.658 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/9.513, allocations: 7.656 kB / 3.658 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/9.513, allocations: 6.812 kB / 3.658 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/9.519, allocations: 2.787 MB / 3.66 GB, free: 120.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/9.52, allocations: 352 kB / 3.661 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000424/9.52, allocations: 33.58 kB / 3.661 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/9.522, allocations: 137.9 kB / 3.661 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/9.522, allocations: 67.94 kB / 3.661 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-05/9.522, allocations: 43.02 kB / 3.661 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001418/9.524, allocations: 0.8773 MB / 3.662 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/9.524, allocations: 0 / 3.662 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002246/9.526, allocations: 0.5074 MB / 3.662 GB, free: 120.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (88): * Single equations (assignments): 82 * 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.003581/9.53, allocations: 2.019 MB / 3.664 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003949/9.534, allocations: 1.438 MB / 3.666 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/9.534, allocations: 0 / 3.666 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/9.535, allocations: 0.7339 MB / 3.667 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/9.539, allocations: 0.6051 MB / 3.667 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/9.545, allocations: 3.056 MB / 3.67 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/9.546, allocations: 1.207 MB / 3.671 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002051/9.548, allocations: 393.2 kB / 3.672 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/9.548, allocations: 126.7 kB / 3.672 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/9.548, allocations: 3.281 kB / 3.672 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.06027/9.609, allocations: 43.18 MB / 3.714 GB, free: 115.5 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)