Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002794/0.002794, allocations: 205 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.257/3.257, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS") translateModel(Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 62.25 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4185, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS): time 2.077/2.496, allocations: 0.8077 GB / 2.135 GB, free: 9.906 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.63/4.126, allocations: 167.5 MB / 2.298 GB, free: 69.58 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03616/4.162, allocations: 1.012 MB / 2.299 GB, free: 69.58 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 0.01633/4.178, allocations: 5.424 MB / 2.305 GB, free: 69.58 MB / 1.779 GB Notification: Performance of NFTyping.typeBindings: time 0.0335/4.212, allocations: 12.61 MB / 2.317 GB, free: 69.52 MB / 1.779 GB Notification: Performance of NFTyping.typeClassSections: time 0.02758/4.239, allocations: 9.885 MB / 2.327 GB, free: 69.43 MB / 1.779 GB Notification: Performance of NFFlatten.flatten: time 0.1032/4.342, allocations: 37.86 MB / 2.364 GB, free: 68.34 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01917/4.362, allocations: 6.462 MB / 2.37 GB, free: 67.94 MB / 1.779 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02929/4.391, allocations: 11.09 MB / 2.381 GB, free: 67.89 MB / 1.779 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/4.406, allocations: 5.816 MB / 2.386 GB, free: 67.76 MB / 1.779 GB Notification: Performance of NFPackage.collectConstants: time 0.005071/4.411, allocations: 1.101 MB / 2.387 GB, free: 67.76 MB / 1.779 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0239/4.435, allocations: 7.027 MB / 2.394 GB, free: 67.72 MB / 1.779 GB Notification: Performance of NFScalarize.scalarize: time 0.007224/4.442, allocations: 2.722 MB / 2.397 GB, free: 67.34 MB / 1.779 GB Notification: Performance of NFVerifyModel.verify: time 0.01285/4.455, allocations: 3.912 MB / 2.401 GB, free: 66.38 MB / 1.779 GB Notification: Performance of NFConvertDAE.convert: time 0.0449/4.5, allocations: 19.56 MB / 2.42 GB, free: 64.44 MB / 1.779 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/4.5, allocations: 0 / 2.42 GB, free: 64.44 MB / 1.779 GB Notification: Performance of FrontEnd: time 2.364e-06/4.5, allocations: 0 / 2.42 GB, free: 64.44 MB / 1.779 GB Notification: Performance of Transformations before backend: time 0.0006027/4.5, allocations: 0 / 2.42 GB, free: 64.44 MB / 1.779 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.03869/4.539, allocations: 10.64 MB / 2.43 GB, free: 60.22 MB / 1.779 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/4.539, allocations: 14.66 kB / 2.43 GB, free: 60.22 MB / 1.779 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/4.554, allocations: 1.783 MB / 2.432 GB, free: 59.68 MB / 1.779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03379/4.588, allocations: 14.75 MB / 2.446 GB, free: 58.03 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005922/4.588, allocations: 356.8 kB / 2.447 GB, free: 58.02 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/4.591, allocations: 455.9 kB / 2.447 GB, free: 58.01 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/4.609, allocations: 6.539 MB / 2.454 GB, free: 56.19 MB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/4.609, allocations: 14.92 kB / 2.454 GB, free: 56.19 MB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/4.611, allocations: 186 kB / 2.454 GB, free: 56.19 MB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/4.611, allocations: 169 kB / 2.454 GB, free: 56.18 MB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/4.623, allocations: 4.452 MB / 2.458 GB, free: 56.12 MB / 1.779 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.05593/4.679, allocations: 24.56 MB / 2.482 GB, free: 47.73 MB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/4.685, allocations: 2.578 MB / 2.485 GB, free: 47.66 MB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/4.688, allocations: 1.418 MB / 2.486 GB, free: 47.63 MB / 1.779 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.0156/4.704, allocations: 5.685 MB / 2.492 GB, free: 47.18 MB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003589/4.708, allocations: 2.44 MB / 2.494 GB, free: 46.26 MB / 1.779 GB Notification: Performance of pre-optimization done (n=197): time 5.36e-06/4.708, allocations: 0 / 2.494 GB, free: 46.26 MB / 1.779 GB Notification: Performance of matching and sorting (n=197): time 0.02871/4.736, allocations: 7.103 MB / 2.501 GB, free: 45.41 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/4.736, allocations: 289.5 kB / 2.501 GB, free: 45.08 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01662/4.753, allocations: 6.951 MB / 2.508 GB, free: 43.54 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/4.754, allocations: 94.16 kB / 2.508 GB, free: 43.5 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.004124/4.758, allocations: 3.519 MB / 2.512 GB, free: 42.1 MB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/4.76, allocations: 0.7313 MB / 2.512 GB, free: 41.57 MB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/4.762, allocations: 0.9651 MB / 2.513 GB, free: 41.38 MB / 1.779 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/4.762, allocations: 311.5 kB / 2.514 GB, free: 41.08 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/4.766, allocations: 2.282 MB / 2.516 GB, free: 40.79 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/4.77, allocations: 4.87 MB / 2.521 GB, free: 37.45 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008241/4.779, allocations: 5.478 MB / 2.526 GB, free: 35.79 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-05/4.779, allocations: 12.66 kB / 2.526 GB, free: 35.79 MB / 1.779 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01496/4.794, allocations: 6.857 MB / 2.533 GB, free: 34.64 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/4.794, allocations: 19.91 kB / 2.533 GB, free: 34.64 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-05/4.794, allocations: 37.66 kB / 2.533 GB, free: 34.64 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/4.797, allocations: 0.8652 MB / 2.534 GB, free: 34.42 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/4.801, allocations: 0.7935 MB / 2.534 GB, free: 34.31 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/4.804, allocations: 2.949 MB / 2.537 GB, free: 32.5 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0065/4.811, allocations: 0.5256 MB / 2.538 GB, free: 32.21 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009938/4.812, allocations: 205.7 kB / 2.538 GB, free: 32.2 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007917/4.82, allocations: 3.993 MB / 2.542 GB, free: 31.13 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004495/4.824, allocations: 4.677 MB / 2.546 GB, free: 26.8 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007474/4.832, allocations: 5.111 MB / 2.551 GB, free: 23.37 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.151e-05/4.832, allocations: 6.969 kB / 2.551 GB, free: 23.37 MB / 1.779 GB Notification: Performance of matching and sorting (n=535) (initialization_lambda0): time 0.01385/4.846, allocations: 6.395 MB / 2.558 GB, free: 20.22 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/4.846, allocations: 18.84 kB / 2.558 GB, free: 20.22 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.194e-05/4.846, allocations: 35.44 kB / 2.558 GB, free: 20.22 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/4.848, allocations: 0.6599 MB / 2.558 GB, free: 19.93 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/4.851, allocations: 0.7988 MB / 2.559 GB, free: 19.79 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/4.855, allocations: 3.04 MB / 2.562 GB, free: 17.25 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/4.861, allocations: 450.4 kB / 2.563 GB, free: 16.99 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009074/4.862, allocations: 196 kB / 2.563 GB, free: 16.95 MB / 1.779 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * Number of states: 0 () * Number of discrete variables: 12 ($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.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 (428): * Single equations (assignments): 421 * 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,5), (1,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001644/4.864, allocations: 438.3 kB / 2.563 GB, free: 16.64 MB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002448/4.866, allocations: 0.6601 MB / 2.564 GB, free: 16.26 MB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/4.876, allocations: 3.987 MB / 2.568 GB, free: 14.11 MB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00592/4.882, allocations: 3.08 MB / 2.571 GB, free: 12.41 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/4.882, allocations: 6.812 kB / 2.571 GB, free: 12.41 MB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004228/4.886, allocations: 1.225 MB / 2.572 GB, free: 11.43 MB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002286/4.889, allocations: 46.28 kB / 2.572 GB, free: 11.4 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004994/4.894, allocations: 209.6 kB / 2.572 GB, free: 11.3 MB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/4.894, allocations: 141.3 kB / 2.572 GB, free: 11.21 MB / 1.779 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01115/4.905, allocations: 4.256 MB / 2.576 GB, free: 8.941 MB / 1.779 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01142/4.917, allocations: 5.693 MB / 2.582 GB, free: 4.051 MB / 1.779 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002494/4.919, allocations: 1.396 MB / 2.583 GB, free: 2.66 MB / 1.779 GB Notification: Performance of sorting global known variables: time 0.0126/4.932, allocations: 4.684 MB / 2.588 GB, free: 14.02 MB / 1.795 GB Notification: Performance of Backend: time 5.31e-07/4.932, allocations: 0 / 2.588 GB, free: 14.02 MB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.03035/4.962, allocations: 8.568 MB / 2.596 GB, free: 6.02 MB / 1.795 GB Notification: Performance of SimCode: time 0.03897/5.001, allocations: 15.45 MB / 2.611 GB, free: 6.727 MB / 1.811 GB Notification: Performance of Templates: time 0.3063/5.307, allocations: 177.3 MB / 2.785 GB, free: 7.387 MB / 1.982 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.sim & ./Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 18.870208785003342] Failed to read output from testmodel.py, exit status != 0: 5.318526485003531 5.333215314 0.829998926 Calling exit ...