Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 180.9 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.2 MB / 0.626 GB, free: 7.203 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 89.77 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.9e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6942, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.181/5.876, allocations: 2.068 GB / 3.041 GB, free: 61.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/5.876, allocations: 83.95 kB / 3.041 GB, free: 61.74 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.556/8.432, allocations: 0.6722 GB / 3.714 GB, free: 119.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/8.432, allocations: 0 / 3.714 GB, free: 119.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001192/8.432, allocations: 39.98 kB / 3.714 GB, free: 119.3 MB / 0.948 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.005714/8.438, allocations: 1.745 MB / 3.715 GB, free: 117.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/8.438, allocations: 12.03 kB / 3.715 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/8.444, allocations: 0.8839 MB / 3.716 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/8.448, allocations: 1.11 MB / 3.717 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/8.448, allocations: 28 kB / 3.717 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/8.448, allocations: 63.97 kB / 3.717 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002007/8.45, allocations: 1.086 MB / 3.719 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/8.452, allocations: 1.134 MB / 3.72 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/8.452, allocations: 7.938 kB / 3.72 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/8.452, allocations: 0 / 3.72 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/8.452, allocations: 49.98 kB / 3.72 GB, free: 113 MB / 0.948 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.007915/8.46, allocations: 4.813 MB / 3.724 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/8.461, allocations: 1.069 MB / 3.725 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006449/8.462, allocations: 0.5695 MB / 3.726 GB, free: 106.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/8.463, allocations: 0.9489 MB / 3.727 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008291/8.464, allocations: 0.6759 MB / 3.728 GB, free: 104.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 3.546e-06/8.464, allocations: 0 / 3.728 GB, free: 104.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002778/8.466, allocations: 1.287 MB / 3.729 GB, free: 103.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/8.466, allocations: 64.12 kB / 3.729 GB, free: 103.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009902/8.467, allocations: 0.8223 MB / 3.73 GB, free: 102.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/8.468, allocations: 29.7 kB / 3.73 GB, free: 102.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/8.468, allocations: 0.5592 MB / 3.73 GB, free: 101.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/8.468, allocations: 315.4 kB / 3.731 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/8.468, allocations: 0 / 3.731 GB, free: 101.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/8.468, allocations: 345.9 kB / 3.731 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/8.469, allocations: 482.4 kB / 3.731 GB, free: 100.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/8.47, allocations: 0.7333 MB / 3.732 GB, free: 99.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/8.47, allocations: 0.502 MB / 3.733 GB, free: 99.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/8.47, allocations: 0 / 3.733 GB, free: 99.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001783/8.472, allocations: 1.28 MB / 3.734 GB, free: 97.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/8.472, allocations: 4 kB / 3.734 GB, free: 97.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/8.472, allocations: 12 kB / 3.734 GB, free: 97.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/8.472, allocations: 8 kB / 3.734 GB, free: 97.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/8.474, allocations: 351.9 kB / 3.734 GB, free: 97.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/8.474, allocations: 12 kB / 3.734 GB, free: 97.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/8.476, allocations: 223 kB / 3.734 GB, free: 97.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/8.476, allocations: 59.95 kB / 3.734 GB, free: 97.32 MB / 0.948 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.0002566/8.476, allocations: 134.9 kB / 3.735 GB, free: 97.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/8.476, allocations: 118.5 kB / 3.735 GB, free: 97.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/8.479, allocations: 1.361 MB / 3.736 GB, free: 95.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/8.479, allocations: 8 kB / 3.736 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/8.479, allocations: 3.984 kB / 3.736 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/8.479, allocations: 3.984 kB / 3.736 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/8.483, allocations: 2.895 MB / 3.739 GB, free: 92.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/8.483, allocations: 4 kB / 3.739 GB, free: 92.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/8.485, allocations: 312 kB / 3.739 GB, free: 92.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/8.485, allocations: 8 kB / 3.739 GB, free: 92.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.279e-05/8.485, allocations: 31.95 kB / 3.739 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/8.485, allocations: 8 kB / 3.739 GB, free: 92.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/8.485, allocations: 15.89 kB / 3.739 GB, free: 92.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/8.487, allocations: 2.384 MB / 3.742 GB, free: 89.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/8.488, allocations: 355.3 kB / 3.742 GB, free: 89.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/8.488, allocations: 11.98 kB / 3.742 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/8.489, allocations: 175.7 kB / 3.742 GB, free: 89.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/8.49, allocations: 68.59 kB / 3.742 GB, free: 89.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/8.49, allocations: 47.95 kB / 3.742 GB, free: 89.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007328/8.49, allocations: 0.6279 MB / 3.743 GB, free: 88.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/8.49, allocations: 0 / 3.743 GB, free: 88.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001576/8.492, allocations: 475.3 kB / 3.743 GB, free: 88.01 MB / 0.948 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.002878/8.495, allocations: 2.159 MB / 3.745 GB, free: 85.85 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001631/8.497, allocations: 1.151 MB / 3.746 GB, free: 84.69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/8.497, allocations: 0 / 3.746 GB, free: 84.69 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/8.497, allocations: 0.6137 MB / 3.747 GB, free: 84.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/8.5, allocations: 449.2 kB / 3.748 GB, free: 83.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/8.513, allocations: 3.029 MB / 3.75 GB, free: 80.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/8.513, allocations: 1.215 MB / 3.752 GB, free: 79.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001809/8.515, allocations: 376.3 kB / 3.752 GB, free: 78.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/8.516, allocations: 127.3 kB / 3.752 GB, free: 78.78 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/8.516, allocations: 0 / 3.752 GB, free: 78.78 MB / 0.948 GB Notification: Performance of Templates: time 0.04214/8.558, allocations: 28.72 MB / 3.78 GB, free: 50.22 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)