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.8886/0.8886, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001049/0.001049, allocations: 180.9 kB / 182.2 MB, free: 9.434 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.527/1.527, 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.0009264/0.0009267, allocations: 103.9 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 275.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.595e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4403, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.808/5.249, allocations: 1.834 GB / 2.591 GB, free: 226.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/5.249, allocations: 90.83 kB / 2.591 GB, free: 226 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.317/7.566, allocations: 0.6787 GB / 3.27 GB, free: 67.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.312e-06/7.566, allocations: 0 / 3.27 GB, free: 67.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001053/7.567, allocations: 47.45 kB / 3.27 GB, free: 67.46 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.006239/7.573, allocations: 1.874 MB / 3.272 GB, free: 65.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/7.573, allocations: 8.031 kB / 3.272 GB, free: 65.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/7.578, allocations: 0.8796 MB / 3.273 GB, free: 64.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/7.581, allocations: 1.167 MB / 3.274 GB, free: 63.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/7.581, allocations: 28 kB / 3.274 GB, free: 63.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/7.582, allocations: 52 kB / 3.274 GB, free: 63.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001526/7.583, allocations: 1.004 MB / 3.275 GB, free: 62.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/7.585, allocations: 1.169 MB / 3.276 GB, free: 61.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/7.585, allocations: 0 / 3.276 GB, free: 61.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/7.585, allocations: 0 / 3.276 GB, free: 61.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.076e-05/7.585, allocations: 37.98 kB / 3.276 GB, free: 61.16 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.007408/7.592, allocations: 4.834 MB / 3.281 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/7.594, allocations: 1.065 MB / 3.282 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/7.594, allocations: 0.5695 MB / 3.282 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/7.595, allocations: 0.945 MB / 3.283 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008843/7.596, allocations: 0.6836 MB / 3.284 GB, free: 52.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/7.596, allocations: 0 / 3.284 GB, free: 52.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.002774/7.599, allocations: 1.283 MB / 3.285 GB, free: 51.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/7.599, allocations: 68.17 kB / 3.285 GB, free: 51.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/7.6, allocations: 0.8224 MB / 3.286 GB, free: 50.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/7.6, allocations: 25.7 kB / 3.286 GB, free: 50.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/7.601, allocations: 0.5591 MB / 3.287 GB, free: 49.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/7.601, allocations: 319.3 kB / 3.287 GB, free: 49.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/7.601, allocations: 0 / 3.287 GB, free: 49.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/7.601, allocations: 345.9 kB / 3.287 GB, free: 49.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/7.602, allocations: 478.4 kB / 3.288 GB, free: 48.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/7.602, allocations: 0.7187 MB / 3.288 GB, free: 47.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/7.603, allocations: 0.5097 MB / 3.289 GB, free: 47.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/7.603, allocations: 4 kB / 3.289 GB, free: 47.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001785/7.605, allocations: 1.272 MB / 3.29 GB, free: 46.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/7.605, allocations: 8 kB / 3.29 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/7.605, allocations: 4 kB / 3.29 GB, free: 46.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/7.605, allocations: 8 kB / 3.29 GB, free: 46.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/7.607, allocations: 352 kB / 3.29 GB, free: 45.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/7.607, allocations: 11.94 kB / 3.29 GB, free: 45.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/7.608, allocations: 223.1 kB / 3.291 GB, free: 45.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/7.608, allocations: 55.95 kB / 3.291 GB, free: 45.48 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.0002381/7.609, allocations: 134.9 kB / 3.291 GB, free: 45.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/7.609, allocations: 134.4 kB / 3.291 GB, free: 45.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/7.611, allocations: 1.353 MB / 3.292 GB, free: 43.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/7.611, allocations: 15.94 kB / 3.292 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/7.611, allocations: 0 / 3.292 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/7.611, allocations: 3.984 kB / 3.292 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/7.615, allocations: 2.888 MB / 3.295 GB, free: 40.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/7.615, allocations: 4 kB / 3.295 GB, free: 40.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/7.617, allocations: 316 kB / 3.295 GB, free: 40.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/7.617, allocations: 11.98 kB / 3.295 GB, free: 40.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-05/7.617, allocations: 27.95 kB / 3.295 GB, free: 40.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/7.617, allocations: 11.94 kB / 3.295 GB, free: 40.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/7.617, allocations: 8 kB / 3.295 GB, free: 40.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/7.62, allocations: 2.404 MB / 3.298 GB, free: 37.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/7.62, allocations: 343.3 kB / 3.298 GB, free: 37.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/7.62, allocations: 15.98 kB / 3.298 GB, free: 37.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/7.622, allocations: 167.7 kB / 3.298 GB, free: 37.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/7.622, allocations: 72.58 kB / 3.298 GB, free: 37.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/7.622, allocations: 43.97 kB / 3.298 GB, free: 37.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007186/7.623, allocations: 0.6357 MB / 3.299 GB, free: 36.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/7.623, allocations: 0 / 3.299 GB, free: 36.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001692/7.625, allocations: 479.2 kB / 3.3 GB, free: 36.15 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.003343/7.628, allocations: 2.154 MB / 3.302 GB, free: 34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001927/7.63, allocations: 1.163 MB / 3.303 GB, free: 32.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/7.63, allocations: 0 / 3.303 GB, free: 32.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008079/7.631, allocations: 0.612 MB / 3.303 GB, free: 32.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/7.633, allocations: 441.2 kB / 3.304 GB, free: 31.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/7.647, allocations: 3.033 MB / 3.307 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/7.647, allocations: 1.225 MB / 3.308 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001985/7.649, allocations: 368.3 kB / 3.308 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/7.65, allocations: 123.4 kB / 3.308 GB, free: 26.95 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/7.65, allocations: 3.938 kB / 3.308 GB, free: 26.94 MB / 0.698 GB Notification: Performance of Templates: time 0.4931/8.143, allocations: 28.75 MB / 3.336 GB, free: 121.7 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)