Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008546/0.0008548, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 222.1 MB, free: 5.465 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 252 MB / 0.5102 GB, free: 4.766 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008801/0.0008805, allocations: 20 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6367, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002322/0.6391, allocations: 1.944 MB / 0.73 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.6404, allocations: 0.7999 MB / 0.7308 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.6406, allocations: 4 kB / 0.7308 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.6408, allocations: 43.58 kB / 0.7309 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/0.6409, allocations: 31.72 kB / 0.7309 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.6411, allocations: 83.92 kB / 0.731 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.6414, allocations: 340.2 kB / 0.7313 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.6417, allocations: 115.7 kB / 0.7314 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.6418, allocations: 87.5 kB / 0.7315 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.6419, allocations: 95.36 kB / 0.7316 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.642, allocations: 8 kB / 0.7316 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/0.642, allocations: 8 kB / 0.7316 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.642, allocations: 51.75 kB / 0.7316 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.6421, allocations: 73.52 kB / 0.7317 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.6424, allocations: 381 kB / 0.7321 GB, free: 7.324 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6424, allocations: 0 / 0.7321 GB, free: 7.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.607e-06/0.6424, allocations: 0 / 0.7321 GB, free: 7.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.6424, allocations: 0 / 0.7321 GB, free: 7.324 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008232/0.6433, allocations: 0.5845 MB / 0.7326 GB, free: 6.691 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6433, allocations: 8.031 kB / 0.7327 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.6434, allocations: 39.52 kB / 0.7327 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.6439, allocations: 334.7 kB / 0.733 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.6439, allocations: 20.56 kB / 0.733 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.644, allocations: 24 kB / 0.7331 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.6445, allocations: 305.3 kB / 0.7333 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.6446, allocations: 4 kB / 0.7333 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.6446, allocations: 8 kB / 0.7334 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.6446, allocations: 8 kB / 0.7334 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005074/0.6451, allocations: 226.1 kB / 0.7336 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.6466, allocations: 1.169 MB / 0.7347 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.6471, allocations: 214.7 kB / 0.7349 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.6473, allocations: 112.8 kB / 0.735 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.6473, allocations: 3.984 kB / 0.735 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.6474, allocations: 38.56 kB / 0.7351 GB, free: 4.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.6474, allocations: 0 / 0.7351 GB, free: 4.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006867/0.6481, allocations: 287.1 kB / 0.7353 GB, free: 3.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6481, allocations: 55.41 kB / 0.7354 GB, free: 3.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.6484, allocations: 291 kB / 0.7357 GB, free: 3.418 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.6485, allocations: 37.64 kB / 0.7357 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.6486, allocations: 180.1 kB / 0.7359 GB, free: 3.195 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.6487, allocations: 51.2 kB / 0.7359 GB, free: 3.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.6487, allocations: 8 kB / 0.7359 GB, free: 3.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6488, allocations: 342.8 kB / 0.7363 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.649, allocations: 83.95 kB / 0.7364 GB, free: 2.711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.6493, allocations: 122.5 kB / 0.7365 GB, free: 2.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.6495, allocations: 87.97 kB / 0.7366 GB, free: 2.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6495, allocations: 0 / 0.7366 GB, free: 2.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005202/0.65, allocations: 271.5 kB / 0.7368 GB, free: 2.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.6501, allocations: 115.7 kB / 0.7369 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6501, allocations: 0 / 0.7369 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.6501, allocations: 7.953 kB / 0.7369 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.6504, allocations: 47.97 kB / 0.737 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6504, allocations: 4 kB / 0.737 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.6505, allocations: 31.77 kB / 0.737 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.6506, allocations: 8 kB / 0.737 GB, free: 1.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.6506, allocations: 4 kB / 0.737 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003982/0.651, allocations: 203.8 kB / 0.7372 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.651, allocations: 7.984 kB / 0.7372 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-06/0.651, allocations: 0 / 0.7372 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.6512, allocations: 43.92 kB / 0.7373 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.6512, allocations: 0 / 0.7373 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.6513, allocations: 31.92 kB / 0.7373 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.6513, allocations: 8 kB / 0.7373 GB, free: 1.703 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001826/0.6515, allocations: 233 kB / 0.7375 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.6516, allocations: 31.58 kB / 0.7376 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.6521, allocations: 247.7 kB / 0.7378 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6522, allocations: 4 kB / 0.7378 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6522, allocations: 0 / 0.7378 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6522, allocations: 7.969 kB / 0.7378 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.6526, allocations: 341.4 kB / 0.7381 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6526, allocations: 7.953 kB / 0.7381 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.6528, allocations: 47.91 kB / 0.7382 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6528, allocations: 0 / 0.7382 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6528, allocations: 0 / 0.7382 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6528, allocations: 4 kB / 0.7382 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6529, allocations: 0 / 0.7382 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.6536, allocations: 437.4 kB / 0.7386 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.6537, allocations: 100.8 kB / 0.7387 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.6537, allocations: 8 kB / 0.7387 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.6539, allocations: 15.98 kB / 0.7387 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.6539, allocations: 15.97 kB / 0.7387 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.6539, allocations: 4 kB / 0.7387 GB, free: 128 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001992/0.6541, allocations: 210 kB / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.184e-06/0.6542, allocations: 0 / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003732/0.6545, allocations: 91.53 kB / 0.739 GB, free: 15.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0001241/0.6547, allocations: 102.1 kB / 0.7391 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006526/0.6553, allocations: 302.1 kB / 0.7394 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.6553, allocations: 4 kB / 0.7394 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.6555, allocations: 100.1 kB / 0.7395 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.656, allocations: 52.58 kB / 0.7396 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.6569, allocations: 0.5813 MB / 0.7401 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.6572, allocations: 0.7638 MB / 0.7409 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.6574, allocations: 38.22 kB / 0.7409 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.6575, allocations: 23.42 kB / 0.7409 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.6575, allocations: 0 / 0.7409 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.005589/0.6631, allocations: 2.273 MB / 0.7432 GB, free: 11.59 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) Environment - environmentSimulation: