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.798/0.798, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001113, allocations: 182.6 kB / 187.3 MB, free: 11.89 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.739/1.739, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.000897/0.0008969, allocations: 90.8 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 272.1 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.14e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4681, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.035/5.504, allocations: 1.834 GB / 2.599 GB, free: 172.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/5.504, allocations: 89.7 kB / 2.599 GB, free: 172.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.277/7.78, allocations: 0.687 GB / 3.286 GB, free: 13.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/7.781, allocations: 3.938 kB / 3.286 GB, free: 13.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001105/7.781, allocations: 47.91 kB / 3.286 GB, free: 13.29 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.006665/7.787, allocations: 1.861 MB / 3.288 GB, free: 11.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/7.787, allocations: 8.031 kB / 3.288 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005243/7.793, allocations: 0.8877 MB / 3.288 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00403/7.797, allocations: 1.153 MB / 3.29 GB, free: 9.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/7.797, allocations: 65.95 kB / 3.29 GB, free: 9.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/7.797, allocations: 95.98 kB / 3.29 GB, free: 9.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/7.799, allocations: 1.279 MB / 3.291 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/7.799, allocations: 7.875 kB / 3.291 GB, free: 7.793 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/7.799, allocations: 32 kB / 3.291 GB, free: 7.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/7.799, allocations: 45.95 kB / 3.291 GB, free: 7.719 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/7.801, allocations: 1.14 MB / 3.292 GB, free: 6.574 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.007803/7.809, allocations: 5.055 MB / 3.297 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/7.81, allocations: 1.107 MB / 3.298 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009038/7.811, allocations: 0.6079 MB / 3.299 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/7.812, allocations: 0.9371 MB / 3.3 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/7.814, allocations: 0.7048 MB / 3.3 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 3.456e-06/7.814, allocations: 0 / 3.3 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.003106/7.817, allocations: 1.314 MB / 3.302 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/7.817, allocations: 64.19 kB / 3.302 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/7.818, allocations: 1.056 MB / 3.303 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/7.818, allocations: 49.7 kB / 3.303 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/7.819, allocations: 0.545 MB / 3.303 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/7.819, allocations: 331.3 kB / 3.304 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/7.819, allocations: 16 kB / 3.304 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000144/7.819, allocations: 345.9 kB / 3.304 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/7.82, allocations: 497.8 kB / 3.304 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/7.821, allocations: 0.7443 MB / 3.305 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/7.822, allocations: 0.5184 MB / 3.306 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/7.822, allocations: 4 kB / 3.306 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002349/7.824, allocations: 1.354 MB / 3.307 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/7.824, allocations: 8 kB / 3.307 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/7.825, allocations: 4 kB / 3.307 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/7.825, allocations: 8 kB / 3.307 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/7.826, allocations: 356 kB / 3.307 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/7.826, allocations: 11.94 kB / 3.307 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/7.828, allocations: 262.8 kB / 3.308 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/7.829, allocations: 55.95 kB / 3.308 GB, free: 6.066 MB / 0.7136 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.0003201/7.829, allocations: 174.9 kB / 3.308 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/7.829, allocations: 142.3 kB / 3.308 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/7.832, allocations: 1.433 MB / 3.309 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/7.832, allocations: 12 kB / 3.309 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/7.832, allocations: 0 / 3.309 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/7.832, allocations: 3.984 kB / 3.309 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/7.837, allocations: 3.062 MB / 3.312 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/7.837, allocations: 4.5 kB / 3.312 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/7.839, allocations: 319.5 kB / 3.313 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/7.839, allocations: 8 kB / 3.313 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/7.839, allocations: 43.95 kB / 3.313 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/7.839, allocations: 11.94 kB / 3.313 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/7.839, allocations: 7.953 kB / 3.313 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5353/8.375, allocations: 2.466 MB / 3.315 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/8.376, allocations: 375.1 kB / 3.316 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/8.376, allocations: 30.2 kB / 3.316 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/8.378, allocations: 180.1 kB / 3.316 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/8.378, allocations: 70.17 kB / 3.316 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/8.378, allocations: 50.27 kB / 3.316 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001792/8.38, allocations: 0.8239 MB / 3.317 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.633e-06/8.38, allocations: 0.5312 kB / 3.317 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002971/8.383, allocations: 0.5312 MB / 3.317 GB, free: 133.3 MB / 0.7136 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.004608/8.388, allocations: 1.981 MB / 3.319 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002422/8.39, allocations: 1.205 MB / 3.32 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/8.39, allocations: 0 / 3.32 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/8.391, allocations: 0.6393 MB / 3.321 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/8.394, allocations: 0.5909 MB / 3.321 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/8.408, allocations: 3.111 MB / 3.325 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/8.409, allocations: 1.222 MB / 3.326 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002074/8.411, allocations: 398.4 kB / 3.326 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/8.412, allocations: 135.4 kB / 3.326 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of SimCode: time 2.033e-06/8.412, allocations: 0 / 3.326 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.07001/8.482, allocations: 48.18 MB / 3.373 GB, free: 130 MB / 0.7136 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)