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 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_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.8623/0.8623, allocations: 140.1 MB / 156 MB, free: 5.164 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.001089/0.001089, allocations: 177.2 kB / 188.5 MB, free: 15.82 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.634/1.634, allocations: 205.4 MB / 426.3 MB, free: 8.457 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.001045/0.001045, allocations: 90.3 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001663/0.001663, allocations: 276 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 16 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3994, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.84/5.24, allocations: 2.038 GB / 2.777 GB, free: 185 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/5.24, allocations: 94.61 kB / 2.777 GB, free: 184.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.494/8.734, allocations: 1.009 GB / 3.786 GB, free: 111 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/8.734, allocations: 0 / 3.786 GB, free: 111 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001428/8.735, allocations: 43.06 kB / 3.786 GB, free: 111 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006198/8.741, allocations: 1.914 MB / 3.788 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/8.741, allocations: 9.875 kB / 3.788 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/8.745, allocations: 0.6938 MB / 3.789 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/8.747, allocations: 1.071 MB / 3.79 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/8.747, allocations: 72.7 kB / 3.79 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/8.747, allocations: 99.02 kB / 3.79 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/8.75, allocations: 1.443 MB / 3.792 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/8.75, allocations: 3 kB / 3.792 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/8.75, allocations: 40.55 kB / 3.792 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.971e-05/8.75, allocations: 49.28 kB / 3.792 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/8.754, allocations: 1.53 MB / 3.793 GB, free: 109.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.007296/8.761, allocations: 5.075 MB / 3.798 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/8.765, allocations: 1.232 MB / 3.799 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/8.766, allocations: 0.66 MB / 3.8 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/8.768, allocations: 0.9527 MB / 3.801 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/8.77, allocations: 0.7258 MB / 3.802 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 4.909e-06/8.77, allocations: 0 / 3.802 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.005651/8.775, allocations: 1.971 MB / 3.804 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/8.775, allocations: 65.25 kB / 3.804 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/8.777, allocations: 1.275 MB / 3.805 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/8.778, allocations: 52.58 kB / 3.805 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/8.778, allocations: 0.5915 MB / 3.806 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/8.778, allocations: 282.6 kB / 3.806 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/8.778, allocations: 19.81 kB / 3.806 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/8.779, allocations: 343.8 kB / 3.806 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/8.78, allocations: 0.549 MB / 3.807 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/8.781, allocations: 0.8982 MB / 3.808 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/8.784, allocations: 1.359 MB / 3.809 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/8.784, allocations: 3.281 kB / 3.809 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003579/8.788, allocations: 1.54 MB / 3.81 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/8.788, allocations: 10.59 kB / 3.81 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/8.788, allocations: 7.531 kB / 3.81 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/8.788, allocations: 11.88 kB / 3.81 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/8.789, allocations: 299 kB / 3.811 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/8.789, allocations: 12.84 kB / 3.811 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/8.791, allocations: 235.5 kB / 3.811 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/8.791, allocations: 52.14 kB / 3.811 GB, free: 104.3 MB / 0.6823 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.0006572/8.792, allocations: 342.6 kB / 3.811 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/8.792, allocations: 145.3 kB / 3.811 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/8.796, allocations: 1.514 MB / 3.813 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/8.796, allocations: 12.2 kB / 3.813 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/8.796, allocations: 3.844 kB / 3.813 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/8.796, allocations: 6.766 kB / 3.813 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/8.801, allocations: 2.984 MB / 3.816 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/8.801, allocations: 3.094 kB / 3.816 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/8.803, allocations: 234.8 kB / 3.816 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/8.803, allocations: 7.719 kB / 3.816 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/8.803, allocations: 29.56 kB / 3.816 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/8.803, allocations: 10.25 kB / 3.816 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/8.803, allocations: 9.344 kB / 3.816 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/8.808, allocations: 2.383 MB / 3.818 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007313/8.808, allocations: 340.6 kB / 3.819 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/8.809, allocations: 24.31 kB / 3.819 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/8.81, allocations: 138.1 kB / 3.819 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/8.81, allocations: 68.14 kB / 3.819 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/8.81, allocations: 38.88 kB / 3.819 GB, free: 103 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001238/8.811, allocations: 0.8788 MB / 3.82 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/8.811, allocations: 0 / 3.82 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001781/8.813, allocations: 0.4902 MB / 3.82 GB, free: 102.8 MB / 0.6823 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.003202/8.816, allocations: 2.031 MB / 3.822 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003262/8.82, allocations: 1.323 MB / 3.824 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/8.82, allocations: 3.688 kB / 3.824 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/8.821, allocations: 0.6733 MB / 3.824 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/8.825, allocations: 0.6075 MB / 3.825 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/8.83, allocations: 3.004 MB / 3.828 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/8.831, allocations: 1.184 MB / 3.829 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001704/8.833, allocations: 359.1 kB / 3.829 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/8.833, allocations: 119.6 kB / 3.829 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/8.833, allocations: 1.281 kB / 3.829 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.058/8.891, allocations: 42.83 MB / 3.871 GB, free: 90.3 MB / 0.6823 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)