Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001389/0.00139, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001527/0.001527, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 59.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.8983, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 1.63/2.529, allocations: 359.2 MB / 1.572 GB, free: 26.77 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.06756/2.596, allocations: 41.2 MB / 1.612 GB, free: 26.51 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01081/2.607, allocations: 167.1 kB / 1.612 GB, free: 26.51 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01261/2.62, allocations: 3.751 MB / 1.616 GB, free: 26.44 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03118/2.651, allocations: 9.334 MB / 1.625 GB, free: 26.14 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01757/2.669, allocations: 5.434 MB / 1.63 GB, free: 26 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02876/2.697, allocations: 15.94 MB / 1.646 GB, free: 25.92 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/2.708, allocations: 5.377 MB / 1.651 GB, free: 25.2 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0198/2.728, allocations: 6.389 MB / 1.657 GB, free: 25.12 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/2.74, allocations: 4.22 MB / 1.661 GB, free: 24.61 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003675/2.743, allocations: 0.6731 MB / 1.662 GB, free: 24.6 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02511/2.769, allocations: 8.694 MB / 1.67 GB, free: 24.5 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004549/2.773, allocations: 2.057 MB / 1.672 GB, free: 24.26 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01002/2.783, allocations: 3.61 MB / 1.676 GB, free: 23.3 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0288/2.812, allocations: 12.63 MB / 1.688 GB, free: 20.73 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/2.812, allocations: 0 / 1.688 GB, free: 20.73 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.384e-06/2.812, allocations: 1.812 kB / 1.688 GB, free: 20.73 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000451/2.813, allocations: 0 / 1.688 GB, free: 20.73 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.02541/2.838, allocations: 7.523 MB / 1.696 GB, free: 15.68 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/2.838, allocations: 8.094 kB / 1.696 GB, free: 15.68 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02429/2.862, allocations: 3.346 MB / 1.699 GB, free: 14.24 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/2.875, allocations: 5.41 MB / 1.704 GB, free: 10.61 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004338/2.875, allocations: 365.3 kB / 1.705 GB, free: 10.42 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/2.877, allocations: 423.7 kB / 1.705 GB, free: 10.29 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/2.892, allocations: 5.751 MB / 1.711 GB, free: 6.898 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-05/2.892, allocations: 0 / 1.711 GB, free: 6.898 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006225/2.893, allocations: 173.3 kB / 1.711 GB, free: 6.77 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/2.893, allocations: 168.6 kB / 1.711 GB, free: 6.75 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/2.91, allocations: 6.382 MB / 1.717 GB, free: 2.094 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.04557/2.956, allocations: 22.73 MB / 1.739 GB, free: 10.8 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/2.967, allocations: 4.669 MB / 1.744 GB, free: 6.035 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006895/2.974, allocations: 2.548 MB / 1.746 GB, free: 3.492 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/2.99, allocations: 8.373 MB / 1.755 GB, free: 10.94 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007482/2.998, allocations: 2.828 MB / 1.757 GB, free: 8.07 MB / 1.326 GB Notification: Performance of pre-optimization done (n=325): time 6.882e-06/2.998, allocations: 0 / 1.757 GB, free: 8.07 MB / 1.326 GB Notification: Performance of matching and sorting (n=331): time 0.04684/3.045, allocations: 13.79 MB / 1.771 GB, free: 10.08 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/3.045, allocations: 217.1 kB / 1.771 GB, free: 9.824 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007268/3.052, allocations: 4.092 MB / 1.775 GB, free: 5.734 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/3.054, allocations: 93.7 kB / 1.775 GB, free: 5.637 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.002292/3.056, allocations: 2.223 MB / 1.777 GB, free: 3.41 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/3.058, allocations: 1.112 MB / 1.778 GB, free: 2.309 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/3.06, allocations: 0.849 MB / 1.779 GB, free: 1.449 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001181/3.06, allocations: 309.1 kB / 1.779 GB, free: 1.145 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006955/3.067, allocations: 2.454 MB / 1.782 GB, free: 14.68 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007948/3.075, allocations: 3.191 MB / 1.785 GB, free: 11.25 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/3.09, allocations: 5.338 MB / 1.79 GB, free: 5.766 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/3.09, allocations: 8 kB / 1.79 GB, free: 5.758 MB / 1.357 GB Notification: Performance of matching and sorting (n=525) (initialization): time 0.02127/3.111, allocations: 6.764 MB / 1.797 GB, free: 15.04 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/3.111, allocations: 17.81 kB / 1.797 GB, free: 15.03 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/3.111, allocations: 16 kB / 1.797 GB, free: 15.01 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/3.114, allocations: 0.6578 MB / 1.797 GB, free: 14.34 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00736/3.121, allocations: 1.177 MB / 1.799 GB, free: 13.21 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/3.133, allocations: 9.861 MB / 1.808 GB, free: 2.766 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009103/3.142, allocations: 485.8 kB / 1.809 GB, free: 2.293 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/3.143, allocations: 179.9 kB / 1.809 GB, free: 2.117 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01022/3.153, allocations: 3.412 MB / 1.812 GB, free: 14.7 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008103/3.161, allocations: 3.188 MB / 1.815 GB, free: 11.27 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01583/3.177, allocations: 5.292 MB / 1.821 GB, free: 5.824 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.444e-05/3.177, allocations: 4 kB / 1.821 GB, free: 5.82 MB / 1.389 GB Notification: Performance of matching and sorting (n=525) (initialization_lambda0): time 0.02288/3.2, allocations: 6.705 MB / 1.827 GB, free: 15.16 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/3.2, allocations: 9.719 kB / 1.827 GB, free: 15.16 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/3.2, allocations: 12.56 kB / 1.827 GB, free: 15.14 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/3.203, allocations: 0.651 MB / 1.828 GB, free: 14.48 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007228/3.21, allocations: 1.169 MB / 1.829 GB, free: 13.36 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/3.223, allocations: 10.96 MB / 1.84 GB, free: 1.695 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/3.234, allocations: 493.3 kB / 1.84 GB, free: 1.215 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/3.236, allocations: 175.9 kB / 1.84 GB, free: 1.043 MB / 1.404 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 26 (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,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,$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 (457): * Single equations (assignments): 446 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * 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.003269/3.239, allocations: 419 kB / 1.841 GB, free: 0.6719 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003755/3.243, allocations: 482 kB / 1.841 GB, free: 200 kB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0238/3.267, allocations: 5.987 MB / 1.847 GB, free: 10.16 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01783/3.285, allocations: 4.921 MB / 1.852 GB, free: 5.195 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/3.285, allocations: 7.984 kB / 1.852 GB, free: 5.188 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004459/3.289, allocations: 1.115 MB / 1.853 GB, free: 4.047 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002456/3.292, allocations: 68 kB / 1.853 GB, free: 3.98 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007258/3.299, allocations: 461.2 kB / 1.853 GB, free: 3.535 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008534/3.3, allocations: 230.5 kB / 1.854 GB, free: 3.309 MB / 1.42 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02905/3.329, allocations: 5.769 MB / 1.859 GB, free: 13.55 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03878/3.368, allocations: 8.195 MB / 1.867 GB, free: 5.289 MB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01164/3.38, allocations: 2.456 MB / 1.87 GB, free: 2.824 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.01071/3.39, allocations: 2.724 MB / 1.872 GB, free: 112 kB / 1.436 GB Notification: Performance of Backend: time 2.194e-06/3.39, allocations: 0 / 1.872 GB, free: 112 kB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.06044/3.451, allocations: 10.39 MB / 1.882 GB, free: 6.199 MB / 1.451 GB Notification: Performance of SimCode: time 0.04438/3.495, allocations: 10.83 MB / 1.893 GB, free: 11.41 MB / 1.467 GB Notification: Performance of Templates: time 0.4257/3.921, allocations: 149.3 MB / 2.039 GB, free: 7.332 MB / 1.607 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)