Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 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.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_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS") translateModel(Buildings.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_latest_Buildings.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.00126/0.00126, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.001383/0.001383, allocations: 184.3 kB / 17.35 MB, free: 5.633 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.431/1.431, 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 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001616, allocations: 63.89 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9984/1, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS): time 1.749/2.749, allocations: 0.8883 GB / 2.097 GB, free: 8.082 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 1.301/4.05, allocations: 178 MB / 2.271 GB, free: 62.05 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03991/4.089, allocations: 0.741 MB / 2.271 GB, free: 62.05 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01686/4.106, allocations: 5.382 MB / 2.277 GB, free: 62.04 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03665/4.143, allocations: 11.72 MB / 2.288 GB, free: 61.78 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0222/4.165, allocations: 9.469 MB / 2.297 GB, free: 61.57 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.08783/4.253, allocations: 37.32 MB / 2.334 GB, free: 60.35 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/4.272, allocations: 8.678 MB / 2.342 GB, free: 59.3 MB / 1.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02613/4.299, allocations: 9.82 MB / 2.352 GB, free: 59.2 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/4.311, allocations: 5.647 MB / 2.357 GB, free: 58.37 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004126/4.315, allocations: 1.142 MB / 2.358 GB, free: 58.37 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01907/4.334, allocations: 8.005 MB / 2.366 GB, free: 58.27 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004816/4.339, allocations: 2.701 MB / 2.369 GB, free: 57.95 MB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0112/4.351, allocations: 5.271 MB / 2.374 GB, free: 56.68 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03689/4.387, allocations: 19.69 MB / 2.393 GB, free: 54.81 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/4.387, allocations: 0 / 2.393 GB, free: 54.81 MB / 1.67 GB Notification: Performance of FrontEnd: time 2.665e-06/4.387, allocations: 0 / 2.393 GB, free: 54.81 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.0006656/4.388, allocations: 0 / 2.393 GB, free: 54.81 MB / 1.67 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.03649/4.425, allocations: 9.675 MB / 2.403 GB, free: 50.23 MB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/4.425, allocations: 7.969 kB / 2.403 GB, free: 50.23 MB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/4.436, allocations: 1.724 MB / 2.404 GB, free: 49.45 MB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0308/4.467, allocations: 14.92 MB / 2.419 GB, free: 44.69 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005972/4.468, allocations: 349.7 kB / 2.419 GB, free: 44.68 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002641/4.47, allocations: 458.6 kB / 2.42 GB, free: 44.68 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/4.491, allocations: 5.727 MB / 2.425 GB, free: 42.99 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/4.491, allocations: 11.62 kB / 2.425 GB, free: 42.99 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/4.493, allocations: 193.9 kB / 2.425 GB, free: 42.99 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/4.493, allocations: 162.7 kB / 2.426 GB, free: 42.98 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/4.507, allocations: 4.444 MB / 2.43 GB, free: 42.42 MB / 1.67 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.05226/4.56, allocations: 32.35 MB / 2.462 GB, free: 15.58 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005978/4.566, allocations: 2.562 MB / 2.464 GB, free: 14.21 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/4.568, allocations: 1.336 MB / 2.465 GB, free: 13.51 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01534/4.584, allocations: 8.924 MB / 2.474 GB, free: 5.539 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003178/4.587, allocations: 1.673 MB / 2.476 GB, free: 3.82 MB / 1.67 GB Notification: Performance of pre-optimization done (n=185): time 8.286e-06/4.587, allocations: 0 / 2.476 GB, free: 3.82 MB / 1.67 GB Notification: Performance of matching and sorting (n=185): time 0.02295/4.61, allocations: 6.222 MB / 2.482 GB, free: 13.57 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/4.61, allocations: 443.9 kB / 2.482 GB, free: 13.04 MB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02033/4.63, allocations: 7.574 MB / 2.49 GB, free: 5.477 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.0009067/4.631, allocations: 81.7 kB / 2.49 GB, free: 5.391 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.006026/4.637, allocations: 3.501 MB / 2.493 GB, free: 1.895 MB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.00146/4.639, allocations: 0.6655 MB / 2.494 GB, free: 1.234 MB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004006/4.643, allocations: 0.9666 MB / 2.495 GB, free: 264 kB / 1.686 GB Notification: Performance of setup shared object (initialization): time 0.000133/4.643, allocations: 305.1 kB / 2.495 GB, free: 15.96 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004871/4.648, allocations: 2.229 MB / 2.497 GB, free: 13.72 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006786/4.655, allocations: 3.628 MB / 2.501 GB, free: 9.523 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/4.665, allocations: 5.325 MB / 2.506 GB, free: 3.855 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.018e-05/4.665, allocations: 12 kB / 2.506 GB, free: 3.844 MB / 1.701 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.02019/4.685, allocations: 6.952 MB / 2.513 GB, free: 13.07 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/4.685, allocations: 23.12 kB / 2.513 GB, free: 13.05 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.557e-05/4.685, allocations: 36 kB / 2.513 GB, free: 13.01 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/4.688, allocations: 0.7681 MB / 2.514 GB, free: 12.24 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/4.692, allocations: 0.8049 MB / 2.514 GB, free: 11.49 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/4.696, allocations: 2.827 MB / 2.517 GB, free: 8.605 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007229/4.703, allocations: 0.5888 MB / 2.518 GB, free: 8.012 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/4.705, allocations: 207.9 kB / 2.518 GB, free: 7.809 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00974/4.714, allocations: 3.939 MB / 2.522 GB, free: 3.867 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007279/4.722, allocations: 3.444 MB / 2.525 GB, free: 15.86 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01113/4.733, allocations: 4.954 MB / 2.53 GB, free: 10.55 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.889e-05/4.733, allocations: 12 kB / 2.53 GB, free: 10.54 MB / 1.732 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.0191/4.752, allocations: 6.497 MB / 2.536 GB, free: 4.211 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/4.752, allocations: 20 kB / 2.536 GB, free: 4.191 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.24e-05/4.752, allocations: 36 kB / 2.536 GB, free: 4.156 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/4.754, allocations: 0.5778 MB / 2.537 GB, free: 3.574 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/4.758, allocations: 0.802 MB / 2.538 GB, free: 2.824 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/4.762, allocations: 3.151 MB / 2.541 GB, free: 15.53 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007212/4.769, allocations: 469.6 kB / 2.541 GB, free: 15.07 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009983/4.77, allocations: 200 kB / 2.541 GB, free: 14.88 MB / 1.748 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.00173/4.772, allocations: 433.7 kB / 2.542 GB, free: 14.5 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002739/4.774, allocations: 0.6712 MB / 2.542 GB, free: 13.82 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/4.788, allocations: 4.087 MB / 2.546 GB, free: 9.773 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008532/4.796, allocations: 3.114 MB / 2.549 GB, free: 6.625 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/4.796, allocations: 4 kB / 2.549 GB, free: 6.621 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005032/4.801, allocations: 1.3 MB / 2.551 GB, free: 5.293 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002988/4.804, allocations: 52 kB / 2.551 GB, free: 5.242 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005588/4.81, allocations: 200.2 kB / 2.551 GB, free: 5.043 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/4.811, allocations: 121.8 kB / 2.551 GB, free: 4.922 MB / 1.748 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01187/4.823, allocations: 3.952 MB / 2.555 GB, free: 1.008 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01179/4.834, allocations: 5.306 MB / 2.56 GB, free: 11.67 MB / 1.764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002799/4.837, allocations: 1.315 MB / 2.561 GB, free: 10.36 MB / 1.764 GB Notification: Performance of sorting global known variables: time 0.01534/4.853, allocations: 5.153 MB / 2.566 GB, free: 5.227 MB / 1.764 GB Notification: Performance of Backend: time 1.323e-06/4.853, allocations: 0 / 2.566 GB, free: 5.227 MB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.02842/4.881, allocations: 8.815 MB / 2.575 GB, free: 13.03 MB / 1.779 GB Notification: Performance of SimCode: time 0.04559/4.927, allocations: 15.72 MB / 2.59 GB, free: 13.43 MB / 1.795 GB Notification: Performance of Templates: time 0.2802/5.207, allocations: 172 MB / 2.758 GB, free: 2.816 MB / 1.951 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe 2>&1)