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.001535/0.001536, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001517/0.001518, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.367/1.367, 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.445/2.445, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.84 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7632, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS): time 1.584/2.348, allocations: 0.8885 GB / 2.056 GB, free: 7.969 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 1.209/3.557, allocations: 178.2 MB / 2.23 GB, free: 57.02 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03402/3.591, allocations: 0.7444 MB / 2.231 GB, free: 57.01 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.01299/3.604, allocations: 5.496 MB / 2.236 GB, free: 57 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.02974/3.634, allocations: 12.32 MB / 2.248 GB, free: 56.82 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.02533/3.659, allocations: 9.522 MB / 2.257 GB, free: 56.57 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.08579/3.745, allocations: 37.36 MB / 2.294 GB, free: 55.29 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0192/3.765, allocations: 8.672 MB / 2.302 GB, free: 54.26 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02264/3.787, allocations: 9.911 MB / 2.312 GB, free: 54.15 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/3.799, allocations: 5.652 MB / 2.317 GB, free: 53.33 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.004031/3.803, allocations: 1.142 MB / 2.318 GB, free: 53.33 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01997/3.823, allocations: 8.011 MB / 2.326 GB, free: 53.23 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.00477/3.828, allocations: 2.701 MB / 2.329 GB, free: 52.91 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.01106/3.839, allocations: 5.279 MB / 2.334 GB, free: 51.63 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.03263/3.871, allocations: 20.87 MB / 2.354 GB, free: 48.77 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/3.871, allocations: 0 / 2.354 GB, free: 48.77 MB / 1.623 GB Notification: Performance of FrontEnd: time 2.956e-06/3.871, allocations: 0 / 2.354 GB, free: 48.77 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0004854/3.872, allocations: 2.406 kB / 2.354 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.02936/3.901, allocations: 9.676 MB / 2.364 GB, free: 43.67 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/3.901, allocations: 10.39 kB / 2.364 GB, free: 43.67 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/3.912, allocations: 1.735 MB / 2.366 GB, free: 42.88 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02628/3.938, allocations: 14.93 MB / 2.38 GB, free: 38.12 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004083/3.939, allocations: 351.7 kB / 2.381 GB, free: 38.11 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/3.941, allocations: 461.6 kB / 2.381 GB, free: 38.11 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/3.955, allocations: 5.718 MB / 2.387 GB, free: 36.43 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/3.955, allocations: 17.83 kB / 2.387 GB, free: 36.42 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006378/3.956, allocations: 188.5 kB / 2.387 GB, free: 36.42 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/3.956, allocations: 167.5 kB / 2.387 GB, free: 36.4 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/3.966, allocations: 4.444 MB / 2.391 GB, free: 35.85 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.044/4.01, allocations: 32.36 MB / 2.423 GB, free: 12.07 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005428/4.016, allocations: 2.566 MB / 2.425 GB, free: 10.7 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/4.018, allocations: 1.332 MB / 2.427 GB, free: 10 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/4.033, allocations: 8.934 MB / 2.435 GB, free: 1.066 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00301/4.036, allocations: 1.669 MB / 2.437 GB, free: 15.36 MB / 1.639 GB Notification: Performance of pre-optimization done (n=185): time 4.719e-06/4.036, allocations: 4 kB / 2.437 GB, free: 15.35 MB / 1.639 GB Notification: Performance of matching and sorting (n=185): time 0.02348/4.059, allocations: 6.226 MB / 2.443 GB, free: 9.098 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/4.06, allocations: 429.2 kB / 2.444 GB, free: 8.578 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01586/4.075, allocations: 7.578 MB / 2.451 GB, free: 1.012 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.0008224/4.076, allocations: 85.7 kB / 2.451 GB, free: 0.9219 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.004817/4.081, allocations: 3.499 MB / 2.454 GB, free: 13.43 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/4.082, allocations: 0.6684 MB / 2.455 GB, free: 12.77 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/4.084, allocations: 0.9705 MB / 2.456 GB, free: 11.79 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 0.0001111/4.084, allocations: 305.1 kB / 2.456 GB, free: 11.49 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/4.088, allocations: 2.226 MB / 2.458 GB, free: 9.258 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/4.094, allocations: 3.631 MB / 2.462 GB, free: 5.062 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009156/4.103, allocations: 5.327 MB / 2.467 GB, free: 15.39 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.043e-05/4.103, allocations: 8 kB / 2.467 GB, free: 15.38 MB / 1.67 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01855/4.122, allocations: 6.942 MB / 2.474 GB, free: 8.605 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/4.122, allocations: 23.98 kB / 2.474 GB, free: 8.582 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.921e-05/4.122, allocations: 39.88 kB / 2.474 GB, free: 8.543 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/4.125, allocations: 0.7737 MB / 2.475 GB, free: 7.766 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/4.129, allocations: 0.8034 MB / 2.476 GB, free: 7.016 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004468/4.134, allocations: 2.826 MB / 2.478 GB, free: 4.137 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007153/4.141, allocations: 0.5924 MB / 2.479 GB, free: 3.539 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/4.142, allocations: 211.9 kB / 2.479 GB, free: 3.332 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01116/4.154, allocations: 3.933 MB / 2.483 GB, free: 15.39 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006361/4.16, allocations: 3.437 MB / 2.486 GB, free: 11.39 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009652/4.17, allocations: 4.963 MB / 2.491 GB, free: 6.074 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.474e-05/4.17, allocations: 8 kB / 2.491 GB, free: 6.066 MB / 1.686 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.01947/4.189, allocations: 6.496 MB / 2.498 GB, free: 15.74 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/4.189, allocations: 23.94 kB / 2.498 GB, free: 15.71 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/4.189, allocations: 32 kB / 2.498 GB, free: 15.68 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/4.191, allocations: 0.5821 MB / 2.498 GB, free: 15.1 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/4.195, allocations: 0.8067 MB / 2.499 GB, free: 14.35 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/4.199, allocations: 3.137 MB / 2.502 GB, free: 11.07 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007238/4.207, allocations: 468 kB / 2.502 GB, free: 10.61 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/4.208, allocations: 199.9 kB / 2.503 GB, free: 10.41 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.001864/4.21, allocations: 436.8 kB / 2.503 GB, free: 10.04 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002816/4.212, allocations: 0.6673 MB / 2.504 GB, free: 9.359 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/4.227, allocations: 4.106 MB / 2.508 GB, free: 5.293 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01015/4.237, allocations: 3.107 MB / 2.511 GB, free: 2.148 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/4.237, allocations: 0 / 2.511 GB, free: 2.148 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004893/4.242, allocations: 1.303 MB / 2.512 GB, free: 0.8203 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002708/4.245, allocations: 51.98 kB / 2.512 GB, free: 0.7695 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005265/4.25, allocations: 196.4 kB / 2.512 GB, free: 0.5781 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006135/4.251, allocations: 133.8 kB / 2.512 GB, free: 460 kB / 1.701 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01255/4.263, allocations: 3.949 MB / 2.516 GB, free: 12.54 MB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01256/4.276, allocations: 5.314 MB / 2.521 GB, free: 7.195 MB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002903/4.279, allocations: 1.314 MB / 2.523 GB, free: 5.883 MB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01275/4.292, allocations: 5.153 MB / 2.528 GB, free: 0.7461 MB / 1.717 GB Notification: Performance of Backend: time 1.042e-06/4.292, allocations: 0 / 2.528 GB, free: 0.7461 MB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.0265/4.318, allocations: 8.865 MB / 2.536 GB, free: 8.344 MB / 1.732 GB Notification: Performance of SimCode: time 0.03963/4.358, allocations: 15.73 MB / 2.552 GB, free: 8.668 MB / 1.748 GB Notification: Performance of Templates: time 0.2831/4.641, allocations: 173.2 MB / 2.721 GB, free: 13.13 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)