Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.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.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTDisRet.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.hex.m1_flow|heaETS.hex.m2_flow|loa.m_flow|heaETS.conVal.y|heaETS.hex.port_a1.p|heaETS.hex.port_b1.p|heaETS.hex.port_a2.p|heaETS.hex.port_b2.p|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect") translateModel(Buildings.DHC.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTDisRet.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.hex.m1_flow|heaETS.hex.m2_flow|loa.m_flow|heaETS.conVal.y|heaETS.hex.port_a1.p|heaETS.hex.port_b1.p|heaETS.hex.port_a2.p|heaETS.hex.port_b2.p|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001972/0.001972, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.516/1.516, allocations: 222.9 MB / 241.1 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.6/2.6, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.114, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Indirect): time 0.1205/1.235, allocations: 115.3 MB / 1.321 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04832/1.283, allocations: 31.13 MB / 1.351 GB, free: 10.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/1.291, allocations: 131.2 kB / 1.352 GB, free: 10.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009256/1.3, allocations: 2.712 MB / 1.354 GB, free: 7.887 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01739/1.317, allocations: 4.547 MB / 1.359 GB, free: 3.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01305/1.33, allocations: 4.08 MB / 1.363 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01953/1.35, allocations: 11.17 MB / 1.373 GB, free: 4.074 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005999/1.356, allocations: 3.045 MB / 1.376 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/1.367, allocations: 3.726 MB / 1.38 GB, free: 13.24 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/1.372, allocations: 2.423 MB / 1.382 GB, free: 10.8 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/1.373, allocations: 356 kB / 1.383 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009346/1.383, allocations: 3.717 MB / 1.386 GB, free: 6.734 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001789/1.385, allocations: 1.02 MB / 1.387 GB, free: 5.711 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004123/1.389, allocations: 2.064 MB / 1.389 GB, free: 3.637 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/1.407, allocations: 6.956 MB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/1.407, allocations: 0 / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.577e-06/1.407, allocations: 4 kB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002511/1.407, allocations: 0 / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01498/1.422, allocations: 4.513 MB / 1.401 GB, free: 8.059 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.422, allocations: 8.031 kB / 1.401 GB, free: 8.051 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/1.426, allocations: 0.8421 MB / 1.401 GB, free: 7.203 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009657/1.436, allocations: 4.138 MB / 1.406 GB, free: 3.004 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/1.436, allocations: 159.8 kB / 1.406 GB, free: 2.848 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009101/1.437, allocations: 212 kB / 1.406 GB, free: 2.641 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007397/1.445, allocations: 2.339 MB / 1.408 GB, free: 224 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-05/1.445, allocations: 7.938 kB / 1.408 GB, free: 216 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/1.445, allocations: 76 kB / 1.408 GB, free: 140 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.849e-05/1.445, allocations: 87.47 kB / 1.408 GB, free: 52 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005378/1.451, allocations: 2.016 MB / 1.41 GB, free: 14.03 MB / 1.139 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.02161/1.472, allocations: 11.71 MB / 1.422 GB, free: 1.633 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/1.476, allocations: 1.633 MB / 1.423 GB, free: 15.98 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/1.479, allocations: 0.8882 MB / 1.424 GB, free: 15.09 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/1.489, allocations: 5.404 MB / 1.429 GB, free: 9.258 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00239/1.492, allocations: 0.9856 MB / 1.43 GB, free: 8.254 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001179/1.493, allocations: 142.3 kB / 1.431 GB, free: 8.113 MB / 1.154 GB Notification: Performance of pre-optimization done (n=134): time 7.134e-06/1.493, allocations: 4 kB / 1.431 GB, free: 8.109 MB / 1.154 GB Notification: Performance of matching and sorting (n=137): time 0.01664/1.51, allocations: 5.73 MB / 1.436 GB, free: 2.27 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/1.51, allocations: 116.1 kB / 1.436 GB, free: 2.133 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005855/1.516, allocations: 3.085 MB / 1.439 GB, free: 15.06 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004396/1.516, allocations: 65.7 kB / 1.439 GB, free: 14.99 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.518, allocations: 1.45 MB / 1.441 GB, free: 13.52 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005753/1.518, allocations: 489 kB / 1.441 GB, free: 13.04 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007388/1.519, allocations: 487.6 kB / 1.442 GB, free: 12.55 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.519, allocations: 309.1 kB / 1.442 GB, free: 12.25 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/1.521, allocations: 0.9661 MB / 1.443 GB, free: 11.27 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/1.524, allocations: 1.505 MB / 1.444 GB, free: 9.562 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004706/1.529, allocations: 2.278 MB / 1.447 GB, free: 7.129 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.529, allocations: 0 / 1.447 GB, free: 7.129 MB / 1.17 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007245/1.536, allocations: 3.005 MB / 1.45 GB, free: 4.105 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/1.536, allocations: 10.5 kB / 1.45 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/1.536, allocations: 12 kB / 1.45 GB, free: 4.086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/1.537, allocations: 313.4 kB / 1.45 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/1.539, allocations: 0.4954 MB / 1.45 GB, free: 3.277 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/1.541, allocations: 1.462 MB / 1.452 GB, free: 1.766 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/1.543, allocations: 179.8 kB / 1.452 GB, free: 1.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/1.544, allocations: 95.97 kB / 1.452 GB, free: 1.496 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003448/1.547, allocations: 1.539 MB / 1.454 GB, free: 15.95 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002696/1.55, allocations: 1.466 MB / 1.455 GB, free: 14.27 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004694/1.555, allocations: 2.222 MB / 1.457 GB, free: 11.9 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.222e-05/1.555, allocations: 4 kB / 1.457 GB, free: 11.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.007982/1.563, allocations: 2.907 MB / 1.46 GB, free: 8.965 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/1.563, allocations: 12 kB / 1.46 GB, free: 8.953 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.563, allocations: 12 kB / 1.46 GB, free: 8.941 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.564, allocations: 299 kB / 1.46 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/1.566, allocations: 487.8 kB / 1.461 GB, free: 8.168 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.569, allocations: 2.567 MB / 1.463 GB, free: 5.438 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/1.572, allocations: 180.4 kB / 1.463 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003998/1.572, allocations: 95.95 kB / 1.464 GB, free: 5.168 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,heaETS.hex.flowRegime_nominal,heaETS.hex.flowRegime,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled,QHea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 234 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(3,14), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008116/1.573, allocations: 308.5 kB / 1.464 GB, free: 4.859 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.574, allocations: 323.9 kB / 1.464 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006563/1.581, allocations: 2.489 MB / 1.467 GB, free: 2.035 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004397/1.585, allocations: 2.054 MB / 1.469 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.585, allocations: 0 / 1.469 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.587, allocations: 0.641 MB / 1.469 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000988/1.588, allocations: 35.94 kB / 1.469 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/1.59, allocations: 140.2 kB / 1.469 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/1.59, allocations: 101.2 kB / 1.469 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00662/1.597, allocations: 2.416 MB / 1.472 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007906/1.605, allocations: 3.433 MB / 1.475 GB, free: 9.086 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002099/1.607, allocations: 0.9321 MB / 1.476 GB, free: 8.148 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004632/1.612, allocations: 2.047 MB / 1.478 GB, free: 6.117 MB / 1.201 GB Notification: Performance of Backend: time 7.32e-07/1.612, allocations: 0 / 1.478 GB, free: 6.117 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.626, allocations: 4.565 MB / 1.483 GB, free: 1.738 MB / 1.201 GB Notification: Performance of SimCode: time 0.01587/1.642, allocations: 7.087 MB / 1.489 GB, free: 10.63 MB / 1.217 GB Notification: Performance of Templates: time 0.8411/2.483, allocations: 78.03 MB / 1.566 GB, free: 339.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.sim & ./Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe 2>&1)