Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.1.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|supChiWat.T|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T|buiWitETS.ets.senTBuiSup.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS") translateModel(Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.1.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|supChiWat.T|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T|buiWitETS.ets.senTBuiSup.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 119 kB / 16.42 MB, free: 6.473 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.002086/0.002086, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 59.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7992, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS): time 1.629/2.429, allocations: 0.8885 GB / 2.056 GB, free: 7.992 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 1.248/3.677, allocations: 178.2 MB / 2.23 GB, free: 57.17 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03508/3.712, allocations: 0.7399 MB / 2.231 GB, free: 57.17 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.01614/3.728, allocations: 5.953 MB / 2.236 GB, free: 57.16 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.03996/3.768, allocations: 14.07 MB / 2.25 GB, free: 56.91 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.02585/3.794, allocations: 10.2 MB / 2.26 GB, free: 56.66 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.09131/3.886, allocations: 39.49 MB / 2.299 GB, free: 55.47 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02312/3.909, allocations: 10.21 MB / 2.309 GB, free: 54.15 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02624/3.935, allocations: 10.47 MB / 2.319 GB, free: 54.04 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01347/3.949, allocations: 6.44 MB / 2.325 GB, free: 52.96 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.004742/3.953, allocations: 1.404 MB / 2.326 GB, free: 52.96 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/3.979, allocations: 9.425 MB / 2.336 GB, free: 52.85 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.006217/3.985, allocations: 3.136 MB / 2.339 GB, free: 52.49 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.01328/3.999, allocations: 6.085 MB / 2.345 GB, free: 51.06 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.04295/4.042, allocations: 24.52 MB / 2.369 GB, free: 45.24 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/4.042, allocations: 0 / 2.369 GB, free: 45.24 MB / 1.623 GB Notification: Performance of FrontEnd: time 1.983e-06/4.042, allocations: 0 / 2.369 GB, free: 45.24 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0006331/4.042, allocations: 0 / 2.369 GB, free: 45.24 MB / 1.623 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1284 * Number of variables: 1284 Notification: Performance of Generate backend data structure: time 0.03725/4.08, allocations: 10.95 MB / 2.379 GB, free: 39.54 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/4.08, allocations: 9.812 kB / 2.379 GB, free: 39.54 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/4.105, allocations: 3.428 MB / 2.383 GB, free: 38.1 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03638/4.141, allocations: 16.57 MB / 2.399 GB, free: 32.93 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006724/4.142, allocations: 450 kB / 2.399 GB, free: 32.89 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003126/4.145, allocations: 0.5313 MB / 2.4 GB, free: 32.88 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/4.172, allocations: 7.531 MB / 2.407 GB, free: 29.95 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/4.172, allocations: 16.39 kB / 2.407 GB, free: 29.95 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002198/4.174, allocations: 216.7 kB / 2.407 GB, free: 29.79 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/4.175, allocations: 195.6 kB / 2.408 GB, free: 29.77 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/4.196, allocations: 6.998 MB / 2.414 GB, free: 25.66 MB / 1.623 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.06782/4.264, allocations: 39.29 MB / 2.453 GB, free: 1.383 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01386/4.278, allocations: 4.286 MB / 2.457 GB, free: 13.08 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007893/4.286, allocations: 2.606 MB / 2.459 GB, free: 10.47 MB / 1.654 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.03053/4.316, allocations: 13.47 MB / 2.473 GB, free: 12.48 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009316/4.326, allocations: 2.936 MB / 2.476 GB, free: 9.488 MB / 1.67 GB Notification: Performance of pre-optimization done (n=268): time 9.227e-06/4.326, allocations: 0 / 2.476 GB, free: 9.488 MB / 1.67 GB Notification: Performance of matching and sorting (n=268): time 0.08037/4.406, allocations: 15.22 MB / 2.49 GB, free: 10.16 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/4.406, allocations: 299 kB / 2.491 GB, free: 9.809 MB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02055/4.427, allocations: 8.088 MB / 2.499 GB, free: 1.746 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/4.428, allocations: 101.7 kB / 2.499 GB, free: 1.641 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.0061/4.434, allocations: 3.788 MB / 2.502 GB, free: 13.93 MB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.001999/4.436, allocations: 0.9373 MB / 2.503 GB, free: 13 MB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004825/4.441, allocations: 1.147 MB / 2.504 GB, free: 11.85 MB / 1.701 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/4.441, allocations: 309.1 kB / 2.505 GB, free: 11.54 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00899/4.45, allocations: 3.366 MB / 2.508 GB, free: 8.16 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01169/4.462, allocations: 4.843 MB / 2.513 GB, free: 2.738 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02066/4.483, allocations: 7.512 MB / 2.52 GB, free: 10.88 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/4.483, allocations: 15.94 kB / 2.52 GB, free: 10.87 MB / 1.717 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.04143/4.524, allocations: 10.35 MB / 2.53 GB, free: 0.6875 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.377e-05/4.525, allocations: 26.61 kB / 2.53 GB, free: 0.6641 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-05/4.525, allocations: 36 kB / 2.53 GB, free: 0.6289 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0156/4.54, allocations: 3.372 MB / 2.534 GB, free: 13.24 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006447/4.547, allocations: 1.069 MB / 2.535 GB, free: 12.23 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/4.565, allocations: 9.893 MB / 2.544 GB, free: 1.977 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/4.575, allocations: 0.8105 MB / 2.545 GB, free: 1.16 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001738/4.577, allocations: 247.9 kB / 2.545 GB, free: 0.918 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01484/4.592, allocations: 5.328 MB / 2.55 GB, free: 11.59 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01066/4.602, allocations: 4.646 MB / 2.555 GB, free: 6.355 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01808/4.62, allocations: 7.162 MB / 2.562 GB, free: 14.85 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.119e-05/4.62, allocations: 12 kB / 2.562 GB, free: 14.84 MB / 1.764 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.03866/4.659, allocations: 9.925 MB / 2.572 GB, free: 5.086 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/4.659, allocations: 20 kB / 2.572 GB, free: 5.066 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.353e-05/4.659, allocations: 35.98 kB / 2.572 GB, free: 5.031 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01422/4.674, allocations: 3.193 MB / 2.575 GB, free: 1.824 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006428/4.68, allocations: 1.067 MB / 2.576 GB, free: 0.8164 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/4.698, allocations: 10.21 MB / 2.586 GB, free: 6.145 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009942/4.708, allocations: 0.6613 MB / 2.587 GB, free: 5.484 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/4.71, allocations: 239.9 kB / 2.587 GB, free: 5.25 MB / 1.779 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.buiWitETS.bui.loa.nextTimeEvent,$whenCondition1,buiWitETS.ets.con.con1.y,buiWitETS.bui.terUniCoo.con1.y,buiWitETS.ets.int.local_reset,buiWitETS.bui.terUniCoo.hexWetNtu.flowRegime_nominal,buiWitETS.bui.terUniCoo.hexWetNtu.dryWetCalcs.fullyDry.cfg,buiWitETS.bui.terUniCoo.hexWetNtu.dryWetCalcs.fullyWet.cfg,buiWitETS.bui.terUniCoo.hexWetNtu.dryWetCalcs.cfg,buiWitETS.bui.terUniCoo.hexWetNtu.flowRegime,buiWitETS.bui.terUniCoo.hexWetNtu.UAFroRated.isFulWet,buiWitETS.bui.terUniCoo.hexWetNtu.UAFroRated.isFulDry,buiWitETS.bui.terUniCoo.greThr.greHys.y,$PRE.buiWitETS.bui.terUniCoo.greThr.greHys.y,buiWitETS.bui.loa.nextTimeEventScaled,$PRE.buiWitETS.bui.loa.nextTimeEventScaled,buiWitETS.bui.loa.nextTimeEvent,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 477 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 5 systems {(1,4), (1,2), (1,7), (1,60), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002676/4.712, allocations: 456.7 kB / 2.587 GB, free: 4.855 MB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003418/4.716, allocations: 0.7444 MB / 2.588 GB, free: 4.102 MB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03352/4.749, allocations: 7.311 MB / 2.595 GB, free: 12.79 MB / 1.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02776/4.777, allocations: 6.079 MB / 2.601 GB, free: 6.637 MB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/4.777, allocations: 0 / 2.601 GB, free: 6.637 MB / 1.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006534/4.784, allocations: 1.744 MB / 2.603 GB, free: 4.863 MB / 1.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004066/4.788, allocations: 60 kB / 2.603 GB, free: 4.805 MB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008316/4.796, allocations: 392 kB / 2.603 GB, free: 4.422 MB / 1.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009094/4.797, allocations: 185.7 kB / 2.603 GB, free: 4.242 MB / 1.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0324/4.83, allocations: 7.797 MB / 2.611 GB, free: 12.45 MB / 1.811 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02581/4.855, allocations: 8.808 MB / 2.62 GB, free: 3.57 MB / 1.811 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007233/4.863, allocations: 2.511 MB / 2.622 GB, free: 1.047 MB / 1.811 GB Notification: Performance of sorting global known variables: time 0.01519/4.878, allocations: 5.501 MB / 2.627 GB, free: 11.58 MB / 1.826 GB Notification: Performance of Backend: time 1.603e-06/4.878, allocations: 3.938 kB / 2.627 GB, free: 11.57 MB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.04761/4.926, allocations: 12.39 MB / 2.639 GB, free: 15.76 MB / 1.842 GB Notification: Performance of SimCode: time 0.04568/4.971, allocations: 17.86 MB / 2.657 GB, free: 13.97 MB / 1.857 GB Notification: Performance of Templates: time 0.3376/5.309, allocations: 222.1 MB / 2.874 GB, free: 1.508 MB / 2.061 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe 2>&1)