Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001845/0.001845, allocations: 192.3 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7618, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.3692/1.131, allocations: 358 MB / 1.438 GB, free: 7.074 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.06046/1.192, allocations: 39.3 MB / 1.477 GB, free: 15.65 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007148/1.199, allocations: 171.1 kB / 1.477 GB, free: 15.48 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.008349/1.207, allocations: 2.921 MB / 1.48 GB, free: 12.55 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02512/1.232, allocations: 9.119 MB / 1.489 GB, free: 3.398 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01374/1.246, allocations: 5.253 MB / 1.494 GB, free: 14.17 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01914/1.265, allocations: 12.88 MB / 1.506 GB, free: 1.246 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/1.276, allocations: 5.29 MB / 1.511 GB, free: 11.87 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01579/1.292, allocations: 6.356 MB / 1.518 GB, free: 5.516 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008031/1.3, allocations: 4.135 MB / 1.522 GB, free: 1.387 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002569/1.302, allocations: 0.6562 MB / 1.522 GB, free: 0.7305 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01753/1.32, allocations: 8.522 MB / 1.531 GB, free: 8.191 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003583/1.324, allocations: 1.908 MB / 1.532 GB, free: 6.277 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.007524/1.331, allocations: 3.387 MB / 1.536 GB, free: 2.875 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02206/1.353, allocations: 11.97 MB / 1.547 GB, free: 6.867 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.353, allocations: 3.938 kB / 1.547 GB, free: 6.863 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.984e-06/1.353, allocations: 0 / 1.547 GB, free: 6.863 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002921/1.353, allocations: 0 / 1.547 GB, free: 6.863 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.02032/1.374, allocations: 7.08 MB / 1.554 GB, free: 15.68 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/1.374, allocations: 8.031 kB / 1.554 GB, free: 15.67 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02439/1.398, allocations: 3.301 MB / 1.558 GB, free: 12.36 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/1.41, allocations: 4.38 MB / 1.562 GB, free: 7.914 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004558/1.411, allocations: 362.4 kB / 1.562 GB, free: 7.551 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/1.412, allocations: 423.9 kB / 1.563 GB, free: 7.137 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/1.429, allocations: 5.772 MB / 1.568 GB, free: 1.23 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/1.429, allocations: 3.938 kB / 1.568 GB, free: 1.227 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/1.431, allocations: 180 kB / 1.568 GB, free: 1.051 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/1.431, allocations: 163.9 kB / 1.569 GB, free: 0.8906 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/1.451, allocations: 6.468 MB / 1.575 GB, free: 10.41 MB / 1.311 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.6472/2.098, allocations: 22.22 MB / 1.597 GB, free: 431.3 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/2.11, allocations: 4.737 MB / 1.601 GB, free: 429.2 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006961/2.117, allocations: 2.584 MB / 1.604 GB, free: 428.4 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/2.134, allocations: 8.356 MB / 1.612 GB, free: 423.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007754/2.142, allocations: 2.877 MB / 1.615 GB, free: 422.6 MB / 1.311 GB Notification: Performance of pre-optimization done (n=326): time 6.643e-06/2.142, allocations: 1.5 kB / 1.615 GB, free: 422.6 MB / 1.311 GB Notification: Performance of matching and sorting (n=332): time 0.04563/2.187, allocations: 13.88 MB / 1.628 GB, free: 417.3 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/2.187, allocations: 219.4 kB / 1.629 GB, free: 417.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006363/2.194, allocations: 3.481 MB / 1.632 GB, free: 415.7 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000927/2.195, allocations: 101.5 kB / 1.632 GB, free: 415.7 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/2.197, allocations: 2.075 MB / 1.634 GB, free: 414.1 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/2.198, allocations: 1.117 MB / 1.635 GB, free: 413.2 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/2.2, allocations: 0.7315 MB / 1.636 GB, free: 412.9 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/2.2, allocations: 305.1 kB / 1.636 GB, free: 412.6 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007165/2.207, allocations: 2.313 MB / 1.638 GB, free: 411.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007723/2.214, allocations: 2.972 MB / 1.641 GB, free: 410.3 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/2.228, allocations: 5.059 MB / 1.646 GB, free: 408 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/2.228, allocations: 7.875 kB / 1.646 GB, free: 408 MB / 1.311 GB Notification: Performance of matching and sorting (n=455) (initialization): time 0.02031/2.249, allocations: 6.287 MB / 1.652 GB, free: 405.6 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/2.249, allocations: 15.81 kB / 1.652 GB, free: 405.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/2.249, allocations: 12.97 kB / 1.652 GB, free: 405.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/2.251, allocations: 0.6589 MB / 1.653 GB, free: 405.4 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006941/2.258, allocations: 1.136 MB / 1.654 GB, free: 405.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009443/2.268, allocations: 9.856 MB / 1.664 GB, free: 396.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007344/2.275, allocations: 476.9 kB / 1.664 GB, free: 396.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006814/2.276, allocations: 177 kB / 1.664 GB, free: 396.6 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008611/2.285, allocations: 3.129 MB / 1.667 GB, free: 395.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007046/2.292, allocations: 2.931 MB / 1.67 GB, free: 393.4 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01274/2.304, allocations: 4.966 MB / 1.675 GB, free: 390.6 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.58e-05/2.304, allocations: 3.938 kB / 1.675 GB, free: 390.6 MB / 1.311 GB Notification: Performance of matching and sorting (n=455) (initialization_lambda0): time 0.01708/2.321, allocations: 6.174 MB / 1.681 GB, free: 387.6 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/2.322, allocations: 11.84 kB / 1.681 GB, free: 387.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/2.322, allocations: 19.81 kB / 1.681 GB, free: 387.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/2.324, allocations: 0.6344 MB / 1.682 GB, free: 387.2 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006019/2.33, allocations: 1.123 MB / 1.683 GB, free: 386.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009213/2.339, allocations: 10.98 MB / 1.694 GB, free: 376.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007374/2.346, allocations: 481.6 kB / 1.694 GB, free: 376.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008756/2.347, allocations: 171.1 kB / 1.694 GB, free: 376.4 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 23 (cooCoi.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,con.y,$PRE.con.y,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,cooCoi.flowRegime,$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 (419): * Single equations (assignments): 409 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,2), (1,18), (1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00128/2.349, allocations: 402.8 kB / 1.695 GB, free: 376.1 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/2.35, allocations: 450.4 kB / 1.695 GB, free: 375.8 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/2.366, allocations: 6.059 MB / 1.701 GB, free: 372.5 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01309/2.379, allocations: 4.99 MB / 1.706 GB, free: 368.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/2.38, allocations: 0 / 1.706 GB, free: 368.6 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002942/2.382, allocations: 1.057 MB / 1.707 GB, free: 367.5 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000973/2.383, allocations: 68 kB / 1.707 GB, free: 367.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005018/2.388, allocations: 443.5 kB / 1.707 GB, free: 367 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/2.389, allocations: 230.5 kB / 1.708 GB, free: 366.8 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01777/2.407, allocations: 5.875 MB / 1.713 GB, free: 360.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01991/2.427, allocations: 8.292 MB / 1.721 GB, free: 352.5 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005839/2.433, allocations: 2.505 MB / 1.724 GB, free: 350 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004498/2.437, allocations: 2.332 MB / 1.726 GB, free: 347.7 MB / 1.311 GB Notification: Performance of Backend: time 7.71e-07/2.437, allocations: 0 / 1.726 GB, free: 347.7 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02613/2.463, allocations: 9.764 MB / 1.736 GB, free: 338.4 MB / 1.311 GB Notification: Performance of SimCode: time 0.01583/2.479, allocations: 9.978 MB / 1.745 GB, free: 328.5 MB / 1.311 GB Notification: Performance of Templates: time 0.182/2.661, allocations: 141.2 MB / 1.883 GB, free: 188.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)