Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.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.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.001966/0.001966, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 461.7 MB / 0.7352 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 64.11 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8844/0.886, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.3839/1.27, allocations: 359.1 MB / 1.559 GB, free: 5.281 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.9464/2.216, allocations: 41.15 MB / 1.599 GB, free: 26.6 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/2.227, allocations: 169.2 kB / 1.599 GB, free: 26.6 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01164/2.239, allocations: 3.645 MB / 1.603 GB, free: 26.53 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03144/2.27, allocations: 8.987 MB / 1.612 GB, free: 26.23 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01653/2.287, allocations: 5.403 MB / 1.617 GB, free: 26.09 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02737/2.314, allocations: 15.88 MB / 1.632 GB, free: 26.07 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/2.325, allocations: 5.331 MB / 1.638 GB, free: 25.36 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01902/2.344, allocations: 6.188 MB / 1.644 GB, free: 25.28 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/2.356, allocations: 4.208 MB / 1.648 GB, free: 24.93 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003483/2.359, allocations: 0.6631 MB / 1.648 GB, free: 24.93 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0233/2.383, allocations: 8.675 MB / 1.657 GB, free: 24.83 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004868/2.388, allocations: 2.052 MB / 1.659 GB, free: 24.59 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01071/2.398, allocations: 3.59 MB / 1.662 GB, free: 23.64 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03081/2.429, allocations: 12.58 MB / 1.675 GB, free: 22.16 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/2.429, allocations: 0 / 1.675 GB, free: 22.16 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.335e-06/2.429, allocations: 0 / 1.675 GB, free: 22.16 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0005327/2.43, allocations: 0 / 1.675 GB, free: 22.16 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.02952/2.459, allocations: 7.468 MB / 1.682 GB, free: 18.92 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/2.459, allocations: 9.531 kB / 1.682 GB, free: 18.92 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02461/2.484, allocations: 3.353 MB / 1.685 GB, free: 18.2 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/2.498, allocations: 5.381 MB / 1.69 GB, free: 16.11 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005748/2.499, allocations: 366.9 kB / 1.691 GB, free: 15.93 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/2.501, allocations: 422.9 kB / 1.691 GB, free: 15.79 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/2.52, allocations: 5.709 MB / 1.697 GB, free: 12.42 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/2.52, allocations: 9.906 kB / 1.697 GB, free: 12.41 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/2.522, allocations: 174.1 kB / 1.697 GB, free: 12.29 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/2.522, allocations: 162.4 kB / 1.697 GB, free: 12.27 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/2.541, allocations: 6.359 MB / 1.703 GB, free: 9.176 MB / 1.279 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.04885/2.59, allocations: 22.84 MB / 1.726 GB, free: 3.125 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/2.601, allocations: 4.383 MB / 1.73 GB, free: 14.66 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006656/2.608, allocations: 2.429 MB / 1.732 GB, free: 12.23 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02006/2.628, allocations: 8.24 MB / 1.74 GB, free: 3.84 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007913/2.636, allocations: 2.694 MB / 1.743 GB, free: 1.105 MB / 1.311 GB Notification: Performance of pre-optimization done (n=313): time 9.929e-06/2.636, allocations: 0 / 1.743 GB, free: 1.105 MB / 1.311 GB Notification: Performance of matching and sorting (n=313): time 0.02531/2.661, allocations: 7.471 MB / 1.75 GB, free: 9.512 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/2.661, allocations: 240.1 kB / 1.75 GB, free: 9.227 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/2.672, allocations: 4.287 MB / 1.755 GB, free: 4.941 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/2.673, allocations: 96.75 kB / 1.755 GB, free: 4.844 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.003049/2.676, allocations: 2.25 MB / 1.757 GB, free: 2.586 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/2.678, allocations: 1.066 MB / 1.758 GB, free: 1.531 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004176/2.682, allocations: 0.8408 MB / 1.759 GB, free: 0.6797 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001093/2.683, allocations: 305.1 kB / 1.759 GB, free: 388 kB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007632/2.69, allocations: 2.414 MB / 1.761 GB, free: 13.95 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008599/2.699, allocations: 3.133 MB / 1.764 GB, free: 10.57 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/2.714, allocations: 5.148 MB / 1.77 GB, free: 5.281 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.643e-05/2.714, allocations: 4 kB / 1.77 GB, free: 5.277 MB / 1.342 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.02268/2.737, allocations: 6.48 MB / 1.776 GB, free: 14.84 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/2.737, allocations: 8 kB / 1.776 GB, free: 14.84 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/2.737, allocations: 16 kB / 1.776 GB, free: 14.82 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/2.739, allocations: 438.4 kB / 1.776 GB, free: 14.38 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007223/2.746, allocations: 1.216 MB / 1.777 GB, free: 13.21 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/2.752, allocations: 5.626 MB / 1.783 GB, free: 7.23 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008711/2.761, allocations: 0.7552 MB / 1.784 GB, free: 6.477 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/2.762, allocations: 179.9 kB / 1.784 GB, free: 6.301 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01112/2.773, allocations: 3.358 MB / 1.787 GB, free: 2.934 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008487/2.782, allocations: 3.12 MB / 1.79 GB, free: 15.56 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01429/2.796, allocations: 5.106 MB / 1.795 GB, free: 10.31 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.802e-05/2.796, allocations: 7.188 kB / 1.795 GB, free: 10.3 MB / 1.373 GB Notification: Performance of matching and sorting (n=514) (initialization_lambda0): time 0.02284/2.819, allocations: 6.421 MB / 1.801 GB, free: 3.918 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/2.819, allocations: 13.97 kB / 1.801 GB, free: 3.906 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/2.819, allocations: 12 kB / 1.801 GB, free: 3.895 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/2.821, allocations: 413.4 kB / 1.802 GB, free: 3.484 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007354/2.828, allocations: 1.191 MB / 1.803 GB, free: 2.34 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006389/2.835, allocations: 6.137 MB / 1.809 GB, free: 11.77 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008745/2.844, allocations: 0.6965 MB / 1.81 GB, free: 11.07 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/2.845, allocations: 179.9 kB / 1.81 GB, free: 10.89 MB / 1.389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 24 (cooCoi.flowRegime_nominal,cooCoi.dryWetCalcs.fullyDry.cfg,cooCoi.dryWetCalcs.fullyWet.cfg,cooCoi.dryWetCalcs.cfg,cooCoi.flowRegime,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (466): * Single equations (assignments): 456 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002184/2.847, allocations: 405.3 kB / 1.81 GB, free: 10.54 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00275/2.85, allocations: 486 kB / 1.811 GB, free: 10.06 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02055/2.87, allocations: 5.716 MB / 1.816 GB, free: 4.289 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01479/2.885, allocations: 4.562 MB / 1.821 GB, free: 15.68 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/2.885, allocations: 3.938 kB / 1.821 GB, free: 15.68 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004917/2.89, allocations: 1.138 MB / 1.822 GB, free: 14.52 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002197/2.892, allocations: 64 kB / 1.822 GB, free: 14.45 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006665/2.899, allocations: 438.5 kB / 1.822 GB, free: 14.03 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007466/2.9, allocations: 210.3 kB / 1.823 GB, free: 13.82 MB / 1.404 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01951/2.919, allocations: 5.337 MB / 1.828 GB, free: 8.488 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02378/2.943, allocations: 7.679 MB / 1.835 GB, free: 0.7422 MB / 1.404 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006208/2.95, allocations: 2.273 MB / 1.838 GB, free: 14.46 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.007315/2.957, allocations: 2.886 MB / 1.84 GB, free: 11.59 MB / 1.42 GB Notification: Performance of Backend: time 9.92e-07/2.957, allocations: 0 / 1.84 GB, free: 11.59 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.0384/2.995, allocations: 9.638 MB / 1.85 GB, free: 2.469 MB / 1.42 GB Notification: Performance of SimCode: time 0.02642/3.022, allocations: 10.77 MB / 1.86 GB, free: 7.75 MB / 1.436 GB Notification: Performance of Templates: time 0.2401/3.262, allocations: 145.1 MB / 2.002 GB, free: 7.98 MB / 1.576 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)