Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Heating.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.Heating.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.2.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS") translateModel(Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.2.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001208, allocations: 114.6 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.001346/0.001346, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.09 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.439/2.439, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 68.12 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9496/0.9511, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS): time 1.707/2.658, allocations: 0.8885 GB / 2.056 GB, free: 8.004 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 1.195/3.853, allocations: 178.1 MB / 2.23 GB, free: 57.05 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03822/3.891, allocations: 0.7456 MB / 2.231 GB, free: 57.05 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.0146/3.906, allocations: 5.499 MB / 2.236 GB, free: 57.04 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.0436/3.949, allocations: 12.31 MB / 2.248 GB, free: 56.86 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.02263/3.972, allocations: 9.521 MB / 2.257 GB, free: 56.61 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.08556/4.058, allocations: 37.35 MB / 2.294 GB, free: 55.33 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0186/4.076, allocations: 8.667 MB / 2.302 GB, free: 54.3 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02428/4.101, allocations: 9.908 MB / 2.312 GB, free: 54.18 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/4.114, allocations: 5.65 MB / 2.317 GB, free: 53.36 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.004774/4.119, allocations: 1.143 MB / 2.318 GB, free: 53.36 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02074/4.139, allocations: 8.01 MB / 2.326 GB, free: 53.27 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.005269/4.145, allocations: 2.699 MB / 2.329 GB, free: 52.95 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.01222/4.157, allocations: 5.273 MB / 2.334 GB, free: 51.67 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.0354/4.192, allocations: 20.93 MB / 2.355 GB, free: 48.78 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/4.192, allocations: 0 / 2.355 GB, free: 48.78 MB / 1.623 GB Notification: Performance of FrontEnd: time 1.542e-06/4.192, allocations: 4 kB / 2.355 GB, free: 48.77 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0005236/4.193, allocations: 0 / 2.355 GB, free: 48.77 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.03015/4.223, allocations: 9.976 MB / 2.364 GB, free: 43.51 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/4.223, allocations: 10.42 kB / 2.364 GB, free: 43.51 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/4.234, allocations: 1.769 MB / 2.366 GB, free: 42.69 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02727/4.261, allocations: 15 MB / 2.381 GB, free: 37.87 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005773/4.262, allocations: 357.5 kB / 2.381 GB, free: 37.85 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/4.264, allocations: 465.9 kB / 2.381 GB, free: 37.85 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/4.277, allocations: 5.72 MB / 2.387 GB, free: 36.16 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/4.278, allocations: 15.38 kB / 2.387 GB, free: 36.16 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006224/4.278, allocations: 185.7 kB / 2.387 GB, free: 36.16 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/4.278, allocations: 166.5 kB / 2.387 GB, free: 36.15 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/4.289, allocations: 4.448 MB / 2.392 GB, free: 35.59 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.04376/4.333, allocations: 32.41 MB / 2.423 GB, free: 11.76 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/4.338, allocations: 2.574 MB / 2.426 GB, free: 10.38 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/4.34, allocations: 1.335 MB / 2.427 GB, free: 9.688 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/4.353, allocations: 8.94 MB / 2.436 GB, free: 0.7266 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003241/4.356, allocations: 1.675 MB / 2.438 GB, free: 15.01 MB / 1.639 GB Notification: Performance of pre-optimization done (n=185): time 7.193e-06/4.357, allocations: 0 / 2.438 GB, free: 15.01 MB / 1.639 GB Notification: Performance of matching and sorting (n=185): time 0.0238/4.38, allocations: 6.258 MB / 2.444 GB, free: 8.723 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002912/4.381, allocations: 444 kB / 2.444 GB, free: 8.191 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01886/4.4, allocations: 7.578 MB / 2.451 GB, free: 0.625 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.0009936/4.401, allocations: 81.7 kB / 2.452 GB, free: 0.5391 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.005711/4.406, allocations: 3.554 MB / 2.455 GB, free: 13 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/4.408, allocations: 0.696 MB / 2.456 GB, free: 12.31 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002402/4.41, allocations: 0.9767 MB / 2.457 GB, free: 11.32 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 0.0001129/4.41, allocations: 309.1 kB / 2.457 GB, free: 11.02 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/4.415, allocations: 2.22 MB / 2.459 GB, free: 8.793 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00597/4.421, allocations: 3.635 MB / 2.463 GB, free: 4.598 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009634/4.43, allocations: 5.323 MB / 2.468 GB, free: 14.93 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.43e-05/4.43, allocations: 16 kB / 2.468 GB, free: 14.91 MB / 1.67 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01795/4.448, allocations: 6.976 MB / 2.475 GB, free: 8.105 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/4.449, allocations: 20 kB / 2.475 GB, free: 8.086 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-05/4.449, allocations: 39.94 kB / 2.475 GB, free: 8.047 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/4.451, allocations: 0.7703 MB / 2.476 GB, free: 7.273 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/4.455, allocations: 0.8036 MB / 2.476 GB, free: 6.523 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/4.46, allocations: 2.837 MB / 2.479 GB, free: 3.633 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007355/4.467, allocations: 0.6017 MB / 2.48 GB, free: 3.027 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/4.468, allocations: 207.9 kB / 2.48 GB, free: 2.824 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009185/4.477, allocations: 3.932 MB / 2.484 GB, free: 14.89 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005785/4.483, allocations: 3.438 MB / 2.487 GB, free: 10.88 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00805/4.491, allocations: 4.957 MB / 2.492 GB, free: 5.57 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.717e-05/4.491, allocations: 12 kB / 2.492 GB, free: 5.559 MB / 1.686 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.01485/4.506, allocations: 6.53 MB / 2.498 GB, free: 15.2 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/4.506, allocations: 23.94 kB / 2.498 GB, free: 15.18 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.608e-05/4.506, allocations: 36 kB / 2.498 GB, free: 15.14 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/4.508, allocations: 0.5751 MB / 2.499 GB, free: 14.57 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/4.511, allocations: 0.8056 MB / 2.5 GB, free: 13.82 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/4.515, allocations: 3.148 MB / 2.503 GB, free: 10.53 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0073/4.522, allocations: 474.6 kB / 2.503 GB, free: 10.06 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009545/4.523, allocations: 200 kB / 2.503 GB, free: 9.867 MB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.buiWitETS.bui.loa.nextTimeEvent,$whenCondition1,buiWitETS.ets.con.con1.y,buiWitETS.bui.terUniHea.con1.y,buiWitETS.ets.int.local_reset,buiWitETS.bui.terUniHea.hex.flowRegime_nominal,buiWitETS.bui.terUniHea.hex.flowRegime,buiWitETS.bui.terUniHea.greThr.greHys.y,$PRE.buiWitETS.bui.terUniHea.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 (434): * Single equations (assignments): 427 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,28), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001204/4.525, allocations: 431.2 kB / 2.504 GB, free: 9.492 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002437/4.527, allocations: 0.7024 MB / 2.505 GB, free: 8.785 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/4.539, allocations: 4.107 MB / 2.509 GB, free: 4.715 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008304/4.548, allocations: 3.114 MB / 2.512 GB, free: 1.562 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/4.548, allocations: 4 kB / 2.512 GB, free: 1.559 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004702/4.552, allocations: 1.331 MB / 2.513 GB, free: 208 kB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/4.555, allocations: 55.95 kB / 2.513 GB, free: 152 kB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/4.558, allocations: 196.3 kB / 2.513 GB, free: 15.96 MB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/4.559, allocations: 136.3 kB / 2.513 GB, free: 15.83 MB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01008/4.569, allocations: 3.939 MB / 2.517 GB, free: 11.92 MB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01102/4.58, allocations: 5.35 MB / 2.522 GB, free: 6.547 MB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002569/4.583, allocations: 1.317 MB / 2.524 GB, free: 5.23 MB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01394/4.597, allocations: 5.153 MB / 2.529 GB, free: 96 kB / 1.717 GB Notification: Performance of Backend: time 1.783e-06/4.597, allocations: 0 / 2.529 GB, free: 96 kB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.02977/4.626, allocations: 8.89 MB / 2.537 GB, free: 7.676 MB / 1.732 GB Notification: Performance of SimCode: time 0.03937/4.666, allocations: 15.97 MB / 2.553 GB, free: 7.777 MB / 1.748 GB Notification: Performance of Templates: time 0.2898/4.956, allocations: 173.2 MB / 2.722 GB, free: 12.22 MB / 1.92 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe 2>&1)