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.722/1.722, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001147/0.001147, allocations: 186.5 kB / 371.6 MB, free: 3.422 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.834/1.834, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0008861/0.0008862, allocations: 86.27 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.245e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.106/6.383, allocations: 2.069 GB / 3.049 GB, free: 127.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/6.384, allocations: 88.05 kB / 3.049 GB, free: 127.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.78/9.164, allocations: 0.6805 GB / 3.729 GB, free: 153.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/9.164, allocations: 0 / 3.729 GB, free: 153.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002032/9.164, allocations: 48.23 kB / 3.729 GB, free: 153.6 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.006768/9.171, allocations: 1.742 MB / 3.731 GB, free: 152.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/9.171, allocations: 14.16 kB / 3.731 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005273/9.176, allocations: 0.8862 MB / 3.732 GB, free: 152.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/9.18, allocations: 1.102 MB / 3.733 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.231e-05/9.18, allocations: 77.95 kB / 3.733 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004219/9.181, allocations: 105.7 kB / 3.733 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/9.183, allocations: 1.255 MB / 3.734 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/9.183, allocations: 3.938 kB / 3.734 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/9.183, allocations: 39.78 kB / 3.734 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.572e-05/9.183, allocations: 45.81 kB / 3.734 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/9.186, allocations: 1.262 MB / 3.736 GB, free: 150.9 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.008264/9.194, allocations: 4.805 MB / 3.74 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/9.195, allocations: 1.054 MB / 3.741 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/9.196, allocations: 0.5827 MB / 3.742 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/9.197, allocations: 0.9376 MB / 3.743 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009368/9.198, allocations: 0.6431 MB / 3.743 GB, free: 145.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 3.967e-06/9.198, allocations: 0 / 3.743 GB, free: 145.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002927/9.201, allocations: 1.208 MB / 3.745 GB, free: 145 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/9.201, allocations: 66.66 kB / 3.745 GB, free: 145 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/9.203, allocations: 1.057 MB / 3.746 GB, free: 144.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/9.203, allocations: 48.89 kB / 3.746 GB, free: 144.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/9.204, allocations: 0.5511 MB / 3.746 GB, free: 143.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/9.204, allocations: 331.2 kB / 3.747 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/9.204, allocations: 19.84 kB / 3.747 GB, free: 143.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/9.204, allocations: 343.6 kB / 3.747 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/9.205, allocations: 446.7 kB / 3.747 GB, free: 143.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/9.206, allocations: 0.7049 MB / 3.748 GB, free: 142.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/9.207, allocations: 490.7 kB / 3.749 GB, free: 142.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/9.207, allocations: 0 / 3.749 GB, free: 142.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002071/9.209, allocations: 1.249 MB / 3.75 GB, free: 141.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/9.209, allocations: 6.375 kB / 3.75 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/9.209, allocations: 10.41 kB / 3.75 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/9.209, allocations: 9.406 kB / 3.75 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/9.21, allocations: 339.1 kB / 3.75 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/9.21, allocations: 13.17 kB / 3.75 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/9.212, allocations: 269 kB / 3.75 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/9.212, allocations: 49.66 kB / 3.75 GB, free: 141.5 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.0002617/9.213, allocations: 174.6 kB / 3.751 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/9.213, allocations: 135.2 kB / 3.751 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/9.215, allocations: 1.324 MB / 3.752 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/9.215, allocations: 11.44 kB / 3.752 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/9.215, allocations: 4 kB / 3.752 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/9.215, allocations: 7.969 kB / 3.752 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004861/9.22, allocations: 2.9 MB / 3.755 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/9.22, allocations: 3.781 kB / 3.755 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/9.222, allocations: 298.6 kB / 3.755 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.812e-05/9.222, allocations: 10.22 kB / 3.755 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/9.222, allocations: 31.53 kB / 3.755 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/9.222, allocations: 7.938 kB / 3.755 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/9.222, allocations: 7.531 kB / 3.755 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/9.225, allocations: 2.31 MB / 3.757 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009109/9.226, allocations: 358.1 kB / 3.758 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/9.227, allocations: 31.17 kB / 3.758 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/9.228, allocations: 170.7 kB / 3.758 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/9.228, allocations: 74.23 kB / 3.758 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/9.229, allocations: 39.92 kB / 3.758 GB, free: 136.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001374/9.23, allocations: 0.8231 MB / 3.759 GB, free: 136.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.9e-07/9.23, allocations: 0 / 3.759 GB, free: 136.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002245/9.232, allocations: 0.5184 MB / 3.759 GB, free: 136.1 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.003331/9.236, allocations: 1.98 MB / 3.761 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002078/9.238, allocations: 1.1 MB / 3.762 GB, free: 134.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/9.238, allocations: 4.844 kB / 3.762 GB, free: 134.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009528/9.239, allocations: 0.5754 MB / 3.763 GB, free: 134.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/9.242, allocations: 0.5873 MB / 3.764 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/9.247, allocations: 2.354 MB / 3.766 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/9.248, allocations: 1.225 MB / 3.767 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001968/9.25, allocations: 383.6 kB / 3.767 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/9.251, allocations: 112 kB / 3.767 GB, free: 131.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.976e-06/9.251, allocations: 0 / 3.767 GB, free: 131.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06675/9.318, allocations: 47.4 MB / 3.814 GB, free: 83.86 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)