Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009563/0.0009563, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 165.1 kB / 24.96 MB, free: 8.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9201/0.9201, allocations: 177.1 MB / 205.4 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.847/1.847, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.447e-05, allocations: 6.25 kB / 0.776 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01476/0.01478, allocations: 13.47 MB / 0.7892 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.02538, allocations: 5.063 MB / 0.7941 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.02748, allocations: 94.16 kB / 0.7942 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.02925, allocations: 0.6132 MB / 0.7948 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.03306, allocations: 1.557 MB / 0.7963 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.03637, allocations: 1.487 MB / 0.7978 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006115/0.04249, allocations: 3.76 MB / 0.8014 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.0444, allocations: 0.9449 MB / 0.8024 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.04709, allocations: 1.813 MB / 0.8041 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.04839, allocations: 0.9633 MB / 0.8051 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.04858, allocations: 104 kB / 0.8052 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.04939, allocations: 331.5 kB / 0.8055 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.04972, allocations: 416.1 kB / 0.8059 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.05037, allocations: 0.5688 MB / 0.8064 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.05205, allocations: 1.401 MB / 0.8078 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.05205, allocations: 0 / 0.8078 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.212e-06/0.05205, allocations: 0 / 0.8078 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.05207, allocations: 1.719 kB / 0.8078 GB, free: 4.754 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002713/0.05479, allocations: 1.962 MB / 0.8097 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.05483, allocations: 14.03 kB / 0.8097 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.05665, allocations: 0.5007 MB / 0.8102 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.05835, allocations: 1.005 MB / 0.8112 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.05842, allocations: 87.31 kB / 0.8113 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.05856, allocations: 104 kB / 0.8114 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.06021, allocations: 1.122 MB / 0.8125 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.06023, allocations: 3.938 kB / 0.8125 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.06032, allocations: 47.03 kB / 0.8125 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.06035, allocations: 32 kB / 0.8126 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.06111, allocations: 421.2 kB / 0.813 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/0.06715, allocations: 5.337 MB / 0.8182 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.06829, allocations: 0.4996 MB / 0.8187 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.06859, allocations: 167.5 kB / 0.8188 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.06888, allocations: 93.02 kB / 0.8189 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/0.06941, allocations: 344.8 kB / 0.8192 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.407e-06/0.06941, allocations: 1.156 kB / 0.8192 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85): time 0.001187/0.0706, allocations: 0.5479 MB / 0.8198 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.07064, allocations: 64.41 kB / 0.8198 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.07178, allocations: 1.12 MB / 0.8209 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.07185, allocations: 41.7 kB / 0.821 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.07226, allocations: 0.5799 MB / 0.8215 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.07252, allocations: 301.4 kB / 0.8218 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.07282, allocations: 222.7 kB / 0.822 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.07295, allocations: 347 kB / 0.8224 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.07324, allocations: 138.4 kB / 0.8225 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/0.0741, allocations: 0.7361 MB / 0.8232 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.07498, allocations: 0.7248 MB / 0.8239 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.07499, allocations: 4 kB / 0.8239 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001176/0.07617, allocations: 0.7014 MB / 0.8246 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.0762, allocations: 16.12 kB / 0.8246 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.07621, allocations: 12 kB / 0.8246 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.07624, allocations: 20 kB / 0.8247 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/0.07722, allocations: 307.5 kB / 0.825 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.07724, allocations: 23.92 kB / 0.825 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/0.07808, allocations: 163.1 kB / 0.8251 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.07819, allocations: 51.97 kB / 0.8252 GB, free: 2.082 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.07856, allocations: 198.2 kB / 0.8254 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.07875, allocations: 127.8 kB / 0.8255 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.08042, allocations: 0.9562 MB / 0.8264 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.08044, allocations: 19.98 kB / 0.8264 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.08045, allocations: 0 / 0.8264 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.08046, allocations: 3.984 kB / 0.8265 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.08316, allocations: 1.74 MB / 0.8281 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.08317, allocations: 3.938 kB / 0.8282 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00075/0.08392, allocations: 199.9 kB / 0.8283 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.08392, allocations: 4 kB / 0.8283 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.084, allocations: 31.95 kB / 0.8284 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.08401, allocations: 11.94 kB / 0.8284 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.08401, allocations: 0 / 0.8284 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.08544, allocations: 1.006 MB / 0.8294 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006919/0.08614, allocations: 218.5 kB / 0.8296 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.08628, allocations: 24 kB / 0.8296 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.08683, allocations: 67.88 kB / 0.8297 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.08695, allocations: 76.86 kB / 0.8297 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/0.08704, allocations: 35.95 kB / 0.8298 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006338/0.08767, allocations: 0.57 MB / 0.8303 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.01e-07/0.08767, allocations: 0 / 0.8303 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001313/0.08899, allocations: 427.2 kB / 0.8307 GB, free: 12.23 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/0.09084, allocations: 0.6014 MB / 0.8313 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.09196, allocations: 0.5897 MB / 0.8319 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.7e-05/0.09198, allocations: 16.5 kB / 0.8319 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.09248, allocations: 324.9 kB / 0.8322 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.09441, allocations: 0.5994 MB / 0.8328 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.09856, allocations: 2.483 MB / 0.8352 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.09883, allocations: 298.4 kB / 0.8355 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00109/0.09992, allocations: 307.1 kB / 0.8358 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.1013, allocations: 0.5437 MB / 0.8363 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of SimCode: time 1.423e-06/0.1013, allocations: 0 / 0.8363 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of Templates: time 0.04663/0.1479, allocations: 27.58 MB / 0.8633 GB, free: 11.75 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.485144156031311]