Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_11_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_11_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.001698/0.001698, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001831/0.001831, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.481/1.481, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.12 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 1.211/1.535, allocations: 360.7 MB / 1.614 GB, free: 13 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.06152/1.597, allocations: 41.31 MB / 1.655 GB, free: 12.42 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/1.608, allocations: 169.2 kB / 1.655 GB, free: 12.42 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/1.62, allocations: 3.769 MB / 1.658 GB, free: 12.33 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02998/1.65, allocations: 9.324 MB / 1.668 GB, free: 11.93 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01572/1.665, allocations: 5.485 MB / 1.673 GB, free: 11.71 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.02554/1.691, allocations: 15.97 MB / 1.688 GB, free: 9.988 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007884/1.699, allocations: 4.397 MB / 1.693 GB, free: 7.898 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/1.716, allocations: 6.38 MB / 1.699 GB, free: 5.785 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/1.726, allocations: 4.401 MB / 1.703 GB, free: 4.227 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.00331/1.729, allocations: 0.6656 MB / 1.704 GB, free: 4.227 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02531/1.755, allocations: 9.061 MB / 1.713 GB, free: 1.562 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.004294/1.759, allocations: 2.089 MB / 1.715 GB, free: 64 kB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.009015/1.768, allocations: 3.587 MB / 1.718 GB, free: 13.66 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02917/1.797, allocations: 12.63 MB / 1.731 GB, free: 5.844 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.797, allocations: 2.281 kB / 1.731 GB, free: 5.844 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.893e-06/1.797, allocations: 0 / 1.731 GB, free: 5.844 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003103/1.797, allocations: 0 / 1.731 GB, free: 5.844 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.02152/1.819, allocations: 7.703 MB / 1.738 GB, free: 424 kB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.819, allocations: 8.031 kB / 1.738 GB, free: 416 kB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/1.844, allocations: 3.384 MB / 1.742 GB, free: 13.02 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/1.857, allocations: 5.429 MB / 1.747 GB, free: 7.719 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/1.858, allocations: 352.7 kB / 1.747 GB, free: 7.367 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/1.859, allocations: 426.8 kB / 1.748 GB, free: 6.953 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/1.876, allocations: 5.71 MB / 1.753 GB, free: 1.121 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-05/1.876, allocations: 7.094 kB / 1.753 GB, free: 1.117 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006002/1.877, allocations: 171.8 kB / 1.753 GB, free: 0.9531 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/1.877, allocations: 167.9 kB / 1.753 GB, free: 0.7891 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/1.898, allocations: 6.36 MB / 1.76 GB, free: 10.45 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.05049/1.949, allocations: 22.88 MB / 1.782 GB, free: 2.766 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/1.96, allocations: 4.19 MB / 1.786 GB, free: 14.48 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008309/1.969, allocations: 2.284 MB / 1.788 GB, free: 12.2 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02082/1.99, allocations: 8.234 MB / 1.796 GB, free: 3.723 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007777/1.997, allocations: 2.7 MB / 1.799 GB, free: 0.9805 MB / 1.342 GB Notification: Performance of pre-optimization done (n=313): time 5.771e-06/1.997, allocations: 7.938 kB / 1.799 GB, free: 0.9727 MB / 1.342 GB Notification: Performance of matching and sorting (n=313): time 0.02856/2.026, allocations: 7.492 MB / 1.806 GB, free: 9.363 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/2.026, allocations: 240.1 kB / 1.807 GB, free: 9.078 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009703/2.036, allocations: 4.277 MB / 1.811 GB, free: 4.801 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.001415/2.037, allocations: 93.7 kB / 1.811 GB, free: 4.703 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.003193/2.04, allocations: 2.294 MB / 1.813 GB, free: 2.406 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.00276/2.043, allocations: 1.109 MB / 1.814 GB, free: 1.312 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002123/2.045, allocations: 0.8445 MB / 1.815 GB, free: 472 kB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001534/2.045, allocations: 305.1 kB / 1.815 GB, free: 164 kB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007681/2.053, allocations: 2.412 MB / 1.818 GB, free: 13.74 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009158/2.062, allocations: 3.139 MB / 1.821 GB, free: 10.36 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/2.078, allocations: 5.149 MB / 1.826 GB, free: 5.051 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-05/2.078, allocations: 4 kB / 1.826 GB, free: 5.047 MB / 1.373 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.0223/2.1, allocations: 6.493 MB / 1.832 GB, free: 14.6 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/2.1, allocations: 12 kB / 1.832 GB, free: 14.59 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/2.1, allocations: 15.98 kB / 1.832 GB, free: 14.57 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/2.102, allocations: 441.4 kB / 1.833 GB, free: 14.13 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007774/2.11, allocations: 1.208 MB / 1.834 GB, free: 12.97 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/2.117, allocations: 5.632 MB / 1.839 GB, free: 6.988 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009386/2.126, allocations: 0.7688 MB / 1.84 GB, free: 6.219 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/2.128, allocations: 179.9 kB / 1.84 GB, free: 6.043 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01246/2.14, allocations: 3.365 MB / 1.843 GB, free: 2.668 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009216/2.15, allocations: 3.112 MB / 1.846 GB, free: 15.31 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01552/2.165, allocations: 5.122 MB / 1.851 GB, free: 10.04 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.528e-05/2.165, allocations: 0 / 1.851 GB, free: 10.04 MB / 1.404 GB Notification: Performance of matching and sorting (n=514) (initialization_lambda0): time 0.02388/2.189, allocations: 6.44 MB / 1.858 GB, free: 3.633 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/2.189, allocations: 15.98 kB / 1.858 GB, free: 3.617 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/2.189, allocations: 15.09 kB / 1.858 GB, free: 3.605 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/2.191, allocations: 407.5 kB / 1.858 GB, free: 3.195 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007317/2.198, allocations: 1.192 MB / 1.859 GB, free: 2.051 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/2.205, allocations: 6.14 MB / 1.865 GB, free: 11.47 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009643/2.215, allocations: 0.7073 MB / 1.866 GB, free: 10.77 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/2.217, allocations: 179.9 kB / 1.866 GB, free: 10.59 MB / 1.42 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.002876/2.219, allocations: 404.9 kB / 1.867 GB, free: 10.23 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003445/2.223, allocations: 0.5007 MB / 1.867 GB, free: 9.73 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/2.243, allocations: 5.707 MB / 1.873 GB, free: 3.969 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01575/2.259, allocations: 4.559 MB / 1.877 GB, free: 15.36 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/2.259, allocations: 4 kB / 1.877 GB, free: 15.36 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005341/2.264, allocations: 1.168 MB / 1.878 GB, free: 14.17 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002123/2.267, allocations: 64 kB / 1.878 GB, free: 14.11 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006638/2.273, allocations: 434.8 kB / 1.879 GB, free: 13.68 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/2.274, allocations: 210.3 kB / 1.879 GB, free: 13.48 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01937/2.293, allocations: 5.338 MB / 1.884 GB, free: 8.145 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02324/2.317, allocations: 7.709 MB / 1.892 GB, free: 376 kB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006777/2.323, allocations: 2.147 MB / 1.894 GB, free: 14.21 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.006239/2.33, allocations: 2.879 MB / 1.897 GB, free: 11.34 MB / 1.451 GB Notification: Performance of Backend: time 4.21e-07/2.33, allocations: 0 / 1.897 GB, free: 11.34 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.03504/2.365, allocations: 9.197 MB / 1.906 GB, free: 2.645 MB / 1.451 GB Notification: Performance of SimCode: time 0.02595/2.391, allocations: 10.97 MB / 1.916 GB, free: 7.695 MB / 1.467 GB Notification: Performance of Templates: time 0.2685/2.659, allocations: 148.7 MB / 2.061 GB, free: 3.996 MB / 1.607 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)