Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.System2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 109.2 kB / 16.41 MB, free: 6.457 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.00136/0.001361, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9526/0.954, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.578/2.532, allocations: 0.513 GB / 1.721 GB, free: 48.91 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1164/2.649, allocations: 72.61 MB / 1.792 GB, free: 27.24 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02812/2.677, allocations: 432.8 kB / 1.793 GB, free: 26.97 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02286/2.7, allocations: 5.822 MB / 1.798 GB, free: 23.23 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.05091/2.751, allocations: 13.99 MB / 1.812 GB, free: 10.05 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02666/2.778, allocations: 10.32 MB / 1.822 GB, free: 15.82 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06103/2.839, allocations: 37.98 MB / 1.859 GB, free: 9.75 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02255/2.861, allocations: 12.05 MB / 1.871 GB, free: 13.55 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03155/2.893, allocations: 11.98 MB / 1.883 GB, free: 1.578 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02107/2.914, allocations: 9.225 MB / 1.892 GB, free: 8.32 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.007643/2.922, allocations: 1.199 MB / 1.893 GB, free: 7.121 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02337/2.945, allocations: 6.564 MB / 1.899 GB, free: 0.5469 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.007849/2.953, allocations: 3.586 MB / 1.903 GB, free: 12.95 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.01922/2.972, allocations: 7.173 MB / 1.91 GB, free: 5.738 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.04759/3.02, allocations: 20.58 MB / 1.93 GB, free: 1.098 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/3.02, allocations: 0 / 1.93 GB, free: 1.098 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.683e-06/3.02, allocations: 4 kB / 1.93 GB, free: 1.094 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0007963/3.021, allocations: 0 / 1.93 GB, free: 1.094 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1832 * Number of variables: 1832 Notification: Performance of Generate backend data structure: time 0.04185/3.063, allocations: 14.09 MB / 1.944 GB, free: 2.844 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/3.063, allocations: 8.031 kB / 1.944 GB, free: 2.836 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/3.077, allocations: 2.275 MB / 1.946 GB, free: 0.543 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03408/3.111, allocations: 12.41 MB / 1.958 GB, free: 4.02 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007854/3.112, allocations: 0.5529 MB / 1.958 GB, free: 3.465 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003111/3.115, allocations: 0.7575 MB / 1.959 GB, free: 2.707 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02496/3.14, allocations: 8.507 MB / 1.967 GB, free: 9.898 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003782/3.141, allocations: 23.72 kB / 1.967 GB, free: 9.875 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002428/3.143, allocations: 304 kB / 1.968 GB, free: 9.578 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003834/3.143, allocations: 293.5 kB / 1.968 GB, free: 9.289 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/3.162, allocations: 7.009 MB / 1.975 GB, free: 2.266 MB / 1.436 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08072/3.243, allocations: 41.77 MB / 2.016 GB, free: 5.668 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/3.253, allocations: 4.707 MB / 2.02 GB, free: 0.8711 MB / 1.482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005102/3.258, allocations: 2.348 MB / 2.023 GB, free: 14.52 MB / 1.498 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 evalFunc (simulation): time 0.03178/3.29, allocations: 10.56 MB / 2.033 GB, free: 3.469 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006563/3.296, allocations: 2.48 MB / 2.035 GB, free: 0.9492 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004895/3.301, allocations: 375.8 kB / 2.036 GB, free: 0.5781 MB / 1.498 GB Notification: Performance of pre-optimization done (n=395): time 3.057e-05/3.301, allocations: 0 / 2.036 GB, free: 0.5781 MB / 1.498 GB Notification: Performance of matching and sorting (n=403): time 0.05014/3.351, allocations: 14.71 MB / 2.05 GB, free: 1.578 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/3.352, allocations: 252.8 kB / 2.05 GB, free: 1.281 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02562/3.377, allocations: 9.518 MB / 2.06 GB, free: 7.816 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.001413/3.379, allocations: 125.7 kB / 2.06 GB, free: 7.688 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.007026/3.386, allocations: 5.278 MB / 2.065 GB, free: 2.375 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.002668/3.388, allocations: 1.41 MB / 2.066 GB, free: 0.9453 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004632/3.393, allocations: 1.345 MB / 2.068 GB, free: 15.59 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 0.0001058/3.393, allocations: 301.1 kB / 2.068 GB, free: 15.29 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005945/3.399, allocations: 2.523 MB / 2.07 GB, free: 12.75 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007719/3.407, allocations: 4.275 MB / 2.074 GB, free: 7.77 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/3.419, allocations: 6.358 MB / 2.081 GB, free: 0.7812 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.674e-05/3.419, allocations: 12 kB / 2.081 GB, free: 0.7695 MB / 1.545 GB Notification: Performance of matching and sorting (n=838) (initialization): time 0.02629/3.445, allocations: 9.05 MB / 2.09 GB, free: 7.594 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/3.446, allocations: 24 kB / 2.09 GB, free: 7.57 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-05/3.446, allocations: 40.91 kB / 2.09 GB, free: 7.531 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009234/3.455, allocations: 1.774 MB / 2.091 GB, free: 5.742 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005989/3.461, allocations: 1.322 MB / 2.093 GB, free: 4.418 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/3.472, allocations: 8.218 MB / 2.101 GB, free: 11.7 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009748/3.481, allocations: 412 kB / 2.101 GB, free: 11.3 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/3.483, allocations: 287.9 kB / 2.101 GB, free: 11.02 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01135/3.494, allocations: 4.549 MB / 2.106 GB, free: 6.461 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007425/3.502, allocations: 4.205 MB / 2.11 GB, free: 1.543 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01133/3.513, allocations: 6.195 MB / 2.116 GB, free: 10.77 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.769e-05/3.513, allocations: 16 kB / 2.116 GB, free: 10.75 MB / 1.592 GB Notification: Performance of matching and sorting (n=838) (initialization_lambda0): time 0.02403/3.537, allocations: 8.425 MB / 2.124 GB, free: 2.293 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/3.537, allocations: 20 kB / 2.124 GB, free: 2.273 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.531e-05/3.537, allocations: 40 kB / 2.124 GB, free: 2.234 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008378/3.546, allocations: 1.585 MB / 2.126 GB, free: 0.6328 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/3.552, allocations: 1.291 MB / 2.127 GB, free: 15.34 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/3.567, allocations: 10.59 MB / 2.137 GB, free: 4.133 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009681/3.577, allocations: 427.6 kB / 2.138 GB, free: 3.719 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/3.578, allocations: 275.9 kB / 2.138 GB, free: 3.449 MB / 1.607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 707 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002808/3.581, allocations: 0.552 MB / 2.139 GB, free: 2.887 MB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004223/3.585, allocations: 0.976 MB / 2.14 GB, free: 1.898 MB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/3.603, allocations: 6.064 MB / 2.145 GB, free: 11.77 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01113/3.614, allocations: 4.464 MB / 2.15 GB, free: 7.258 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/3.614, allocations: 0 / 2.15 GB, free: 7.258 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00723/3.621, allocations: 1.66 MB / 2.151 GB, free: 5.566 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004174/3.625, allocations: 95.97 kB / 2.152 GB, free: 5.473 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007879/3.633, allocations: 291.5 kB / 2.152 GB, free: 5.188 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/3.634, allocations: 323 kB / 2.152 GB, free: 4.871 MB / 1.623 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01667/3.651, allocations: 5.562 MB / 2.158 GB, free: 15.26 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0176/3.669, allocations: 7.73 MB / 2.165 GB, free: 7.477 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003984/3.673, allocations: 2.07 MB / 2.167 GB, free: 5.402 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.01585/3.689, allocations: 6.305 MB / 2.173 GB, free: 15.15 MB / 1.654 GB Notification: Performance of Backend: time 1.713e-06/3.689, allocations: 0 / 2.173 GB, free: 15.15 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.04124/3.73, allocations: 12.13 MB / 2.185 GB, free: 3.336 MB / 1.654 GB Notification: Performance of SimCode: time 1.36/5.09, allocations: 23.56 MB / 2.208 GB, free: 0.6614 GB / 1.654 GB Notification: Performance of Templates: time 0.2839/5.374, allocations: 215.7 MB / 2.419 GB, free: 493.2 MB / 1.654 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1)