Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008292/0.008291, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001373/0.001373, allocations: 190.1 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.625/1.625, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001803/0.001803, allocations: 79.88 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.299, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.006666/0.3057, allocations: 3.186 MB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004046/0.3098, allocations: 1.732 MB / 0.8329 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.3109, allocations: 15.88 kB / 0.8329 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.3127, allocations: 306.3 kB / 0.8332 GB, free: 10.91 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001185/0.3139, allocations: 194.8 kB / 0.8333 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.3156, allocations: 382.9 kB / 0.8337 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.3171, allocations: 0.8156 MB / 0.8345 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.3182, allocations: 0.5326 MB / 0.835 GB, free: 9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.3188, allocations: 294.8 kB / 0.8353 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.3193, allocations: 314.5 kB / 0.8356 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.3196, allocations: 60 kB / 0.8357 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.32, allocations: 123.9 kB / 0.8358 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.3204, allocations: 199.3 kB / 0.836 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005845/0.321, allocations: 357.7 kB / 0.8363 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.3229, allocations: 0.8951 MB / 0.8372 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3229, allocations: 0 / 0.8372 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3229, allocations: 0 / 0.8372 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.613e-05/0.323, allocations: 0 / 0.8372 GB, free: 6.777 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002728/0.3257, allocations: 1.101 MB / 0.8383 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.3258, allocations: 12.03 kB / 0.8383 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.3261, allocations: 91.81 kB / 0.8384 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.3271, allocations: 0.5202 MB / 0.8389 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.3273, allocations: 83.33 kB / 0.839 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.3274, allocations: 64 kB / 0.839 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3286, allocations: 0.6598 MB / 0.8397 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3286, allocations: 0 / 0.8397 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.3287, allocations: 24 kB / 0.8397 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.3287, allocations: 16 kB / 0.8397 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000932/0.3297, allocations: 419.5 kB / 0.8401 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.3337, allocations: 2.689 MB / 0.8427 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.3344, allocations: 270.9 kB / 0.843 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.3347, allocations: 140.8 kB / 0.8431 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.3347, allocations: 7.984 kB / 0.8431 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.3352, allocations: 194.8 kB / 0.8433 GB, free: 208 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.3352, allocations: 0 / 0.8433 GB, free: 208 kB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.001007/0.3362, allocations: 421.2 kB / 0.8437 GB, free: 15.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.3363, allocations: 93.03 kB / 0.8438 GB, free: 15.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007869/0.3371, allocations: 0.6638 MB / 0.8444 GB, free: 15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.3371, allocations: 45.7 kB / 0.8445 GB, free: 14.95 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.3375, allocations: 388.2 kB / 0.8449 GB, free: 14.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.3376, allocations: 98.73 kB / 0.845 GB, free: 14.47 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.3379, allocations: 154.2 kB / 0.8451 GB, free: 14.31 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3381, allocations: 386.8 kB / 0.8455 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.3384, allocations: 137.2 kB / 0.8456 GB, free: 13.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.3388, allocations: 365 kB / 0.8459 GB, free: 13.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.3395, allocations: 422.8 kB / 0.8464 GB, free: 12.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3395, allocations: 3.938 kB / 0.8464 GB, free: 12.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001051/0.3406, allocations: 0.547 MB / 0.8469 GB, free: 12.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.3406, allocations: 8 kB / 0.8469 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3407, allocations: 7.938 kB / 0.8469 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.3407, allocations: 8 kB / 0.8469 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3409, allocations: 79.83 kB / 0.847 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.341, allocations: 16.47 kB / 0.847 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.3413, allocations: 75.3 kB / 0.8471 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.3414, allocations: 28 kB / 0.8471 GB, free: 12.07 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0003418/0.3418, allocations: 266.9 kB / 0.8474 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3419, allocations: 67.14 kB / 0.8474 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007594/0.3426, allocations: 392.2 kB / 0.8478 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3427, allocations: 8 kB / 0.8478 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3427, allocations: 0 / 0.8478 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3427, allocations: 3.938 kB / 0.8478 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3442, allocations: 0.9908 MB / 0.8488 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3442, allocations: 0 / 0.8488 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3443, allocations: 27.92 kB / 0.8488 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3443, allocations: 7.938 kB / 0.8488 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3444, allocations: 7.984 kB / 0.8488 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3444, allocations: 8 kB / 0.8488 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3444, allocations: 0 / 0.8488 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.345, allocations: 460.5 kB / 0.8493 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3452, allocations: 144.1 kB / 0.8494 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.3453, allocations: 12 kB / 0.8494 GB, free: 9.582 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3455, allocations: 15.98 kB / 0.8494 GB, free: 9.566 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3456, allocations: 51.94 kB / 0.8495 GB, free: 9.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.3457, allocations: 15.98 kB / 0.8495 GB, free: 9.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005204/0.3462, allocations: 431 kB / 0.8499 GB, free: 9.086 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3462, allocations: 4 kB / 0.8499 GB, free: 9.082 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000595/0.3468, allocations: 135.6 kB / 0.85 GB, free: 8.949 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001204/0.348, allocations: 452.9 kB / 0.8505 GB, free: 8.66 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008185/0.3489, allocations: 395.4 kB / 0.8508 GB, free: 8.273 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3489, allocations: 1.562 kB / 0.8508 GB, free: 8.273 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.3492, allocations: 160.9 kB / 0.851 GB, free: 8.117 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.3498, allocations: 103.9 kB / 0.8511 GB, free: 8.012 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3518, allocations: 1.138 MB / 0.8522 GB, free: 6.84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.3525, allocations: 0.9493 MB / 0.8531 GB, free: 5.867 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000262/0.3528, allocations: 80.5 kB / 0.8532 GB, free: 5.789 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3529, allocations: 55.42 kB / 0.8533 GB, free: 5.734 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.3529, allocations: 3.938 kB / 0.8533 GB, free: 5.73 MB / 0.67 GB Notification: Performance of Templates: time 0.01396/0.3669, allocations: 5.832 MB / 0.859 GB, free: 15.96 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)