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 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,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.9052/0.9052, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001083/0.001083, allocations: 184.9 kB / 182.2 MB, free: 9.426 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.628/1.628, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001011/0.001011, allocations: 99.53 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 274.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.21e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5029, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.77/5.273, allocations: 1.834 GB / 2.591 GB, free: 226.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/5.273, allocations: 88.52 kB / 2.591 GB, free: 226.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.305/7.578, allocations: 0.6787 GB / 3.27 GB, free: 67.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/7.578, allocations: 0 / 3.27 GB, free: 67.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002053/7.579, allocations: 46.8 kB / 3.27 GB, free: 67.87 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00791/7.587, allocations: 1.866 MB / 3.272 GB, free: 65.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/7.587, allocations: 8.031 kB / 3.272 GB, free: 65.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/7.592, allocations: 0.8861 MB / 3.273 GB, free: 65.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00443/7.596, allocations: 1.162 MB / 3.274 GB, free: 63.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/7.596, allocations: 31.98 kB / 3.274 GB, free: 63.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/7.597, allocations: 59.94 kB / 3.274 GB, free: 63.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002018/7.599, allocations: 0.9996 MB / 3.275 GB, free: 62.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/7.601, allocations: 1.162 MB / 3.276 GB, free: 61.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/7.601, allocations: 4 kB / 3.276 GB, free: 61.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/7.601, allocations: 8 kB / 3.276 GB, free: 61.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/7.601, allocations: 41.97 kB / 3.276 GB, free: 61.55 MB / 0.698 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.008866/7.61, allocations: 4.838 MB / 3.281 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/7.612, allocations: 1.061 MB / 3.282 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/7.612, allocations: 0.5656 MB / 3.282 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/7.613, allocations: 0.945 MB / 3.283 GB, free: 53.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009193/7.614, allocations: 0.6758 MB / 3.284 GB, free: 53.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 4.479e-06/7.614, allocations: 0 / 3.284 GB, free: 53.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.003168/7.618, allocations: 1.291 MB / 3.285 GB, free: 51.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/7.618, allocations: 64.19 kB / 3.285 GB, free: 51.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/7.619, allocations: 0.8224 MB / 3.286 GB, free: 50.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/7.619, allocations: 33.69 kB / 3.286 GB, free: 50.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/7.62, allocations: 0.5552 MB / 3.287 GB, free: 50.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/7.62, allocations: 315.4 kB / 3.287 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/7.62, allocations: 0 / 3.287 GB, free: 49.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001213/7.62, allocations: 341.9 kB / 3.287 GB, free: 49.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/7.621, allocations: 486.4 kB / 3.288 GB, free: 49.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/7.622, allocations: 0.7139 MB / 3.288 GB, free: 48.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/7.623, allocations: 0.5097 MB / 3.289 GB, free: 47.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/7.623, allocations: 0 / 3.289 GB, free: 47.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002237/7.625, allocations: 1.276 MB / 3.29 GB, free: 46.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/7.625, allocations: 4 kB / 3.29 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/7.625, allocations: 8 kB / 3.29 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/7.625, allocations: 8 kB / 3.29 GB, free: 46.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/7.627, allocations: 347.8 kB / 3.29 GB, free: 46.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/7.627, allocations: 19.92 kB / 3.29 GB, free: 46.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/7.629, allocations: 211.1 kB / 3.291 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/7.629, allocations: 59.95 kB / 3.291 GB, free: 45.9 MB / 0.698 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.0002869/7.629, allocations: 135.8 kB / 3.291 GB, free: 45.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/7.63, allocations: 122.5 kB / 3.291 GB, free: 45.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/7.632, allocations: 1.365 MB / 3.292 GB, free: 44.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/7.632, allocations: 15.94 kB / 3.292 GB, free: 44.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/7.632, allocations: 0 / 3.292 GB, free: 44.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/7.632, allocations: 3.984 kB / 3.292 GB, free: 44.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/7.637, allocations: 2.891 MB / 3.295 GB, free: 41.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/7.637, allocations: 4 kB / 3.295 GB, free: 41.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/7.638, allocations: 308.1 kB / 3.295 GB, free: 40.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/7.638, allocations: 15.92 kB / 3.295 GB, free: 40.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/7.639, allocations: 31.95 kB / 3.295 GB, free: 40.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/7.639, allocations: 11.94 kB / 3.295 GB, free: 40.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/7.639, allocations: 7.984 kB / 3.295 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/7.641, allocations: 2.396 MB / 3.298 GB, free: 38.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/7.642, allocations: 355.3 kB / 3.298 GB, free: 37.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/7.642, allocations: 8 kB / 3.298 GB, free: 37.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/7.644, allocations: 171.7 kB / 3.298 GB, free: 37.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/7.644, allocations: 80.52 kB / 3.298 GB, free: 37.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/7.644, allocations: 43.95 kB / 3.298 GB, free: 37.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008287/7.645, allocations: 0.6279 MB / 3.299 GB, free: 37.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/7.645, allocations: 4 kB / 3.299 GB, free: 37.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001717/7.647, allocations: 479.3 kB / 3.3 GB, free: 36.57 MB / 0.698 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.003317/7.65, allocations: 2.163 MB / 3.302 GB, free: 34.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001894/7.652, allocations: 1.151 MB / 3.303 GB, free: 33.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/7.652, allocations: 1.125 kB / 3.303 GB, free: 33.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/7.653, allocations: 0.6088 MB / 3.303 GB, free: 32.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/7.655, allocations: 444.4 kB / 3.304 GB, free: 32.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/7.67, allocations: 3.032 MB / 3.307 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/7.671, allocations: 1.215 MB / 3.308 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002173/7.673, allocations: 376.3 kB / 3.308 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/7.674, allocations: 123.3 kB / 3.308 GB, free: 27.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/7.674, allocations: 0 / 3.308 GB, free: 27.38 MB / 0.698 GB Notification: Performance of Templates: time 0.514/8.188, allocations: 28.76 MB / 3.336 GB, free: 122.1 MB / 0.698 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)