Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct.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.EnergyTransferStations.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.senTDisRet.T|cooETS.port_aSerCoo.m_flow|cooETS.ports_aChiWat.1..m_flow|cooETS.cheVal.m_flow|cooETS.conVal.y|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.senTDisRet.T|cooETS.port_aSerCoo.m_flow|cooETS.ports_aChiWat.1..m_flow|cooETS.cheVal.m_flow|cooETS.conVal.y|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001526, allocations: 109.8 kB / 16.42 MB, free: 6.523 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.001428/0.001428, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.641/2.641, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.215, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct): time 0.1547/1.37, allocations: 155.3 MB / 1.319 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05414/1.424, allocations: 34.24 MB / 1.352 GB, free: 5.703 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008696/1.433, allocations: 175 kB / 1.353 GB, free: 5.531 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01032/1.443, allocations: 3.052 MB / 1.356 GB, free: 2.469 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02017/1.463, allocations: 5.706 MB / 1.361 GB, free: 12.74 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01392/1.477, allocations: 4.428 MB / 1.365 GB, free: 8.344 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02509/1.502, allocations: 13.56 MB / 1.379 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009304/1.512, allocations: 3.655 MB / 1.382 GB, free: 7.023 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01375/1.525, allocations: 4.383 MB / 1.387 GB, free: 2.637 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007549/1.533, allocations: 2.956 MB / 1.389 GB, free: 15.67 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002195/1.535, allocations: 408 kB / 1.39 GB, free: 15.27 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/1.545, allocations: 2.933 MB / 1.393 GB, free: 12.33 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00266/1.548, allocations: 1.172 MB / 1.394 GB, free: 11.16 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006978/1.555, allocations: 2.406 MB / 1.396 GB, free: 8.738 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01827/1.573, allocations: 7.575 MB / 1.404 GB, free: 1.137 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.573, allocations: 4 kB / 1.404 GB, free: 1.133 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.226e-06/1.573, allocations: 0 / 1.404 GB, free: 1.133 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002228/1.574, allocations: 0 / 1.404 GB, free: 1.133 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: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01351/1.587, allocations: 5.142 MB / 1.409 GB, free: 11.9 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.587, allocations: 16.88 kB / 1.409 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/1.589, allocations: 0.6022 MB / 1.409 GB, free: 11.28 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.6, allocations: 4.7 MB / 1.414 GB, free: 6.523 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/1.6, allocations: 176.4 kB / 1.414 GB, free: 6.348 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004539/1.6, allocations: 247.9 kB / 1.414 GB, free: 6.105 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004894/1.605, allocations: 2.467 MB / 1.417 GB, free: 3.496 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/1.605, allocations: 15.89 kB / 1.417 GB, free: 3.48 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/1.605, allocations: 91.98 kB / 1.417 GB, free: 3.391 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-05/1.606, allocations: 96.16 kB / 1.417 GB, free: 3.293 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/1.609, allocations: 1.843 MB / 1.419 GB, free: 1.434 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.01944/1.629, allocations: 13.21 MB / 1.431 GB, free: 3.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/1.631, allocations: 1.225 MB / 1.433 GB, free: 2.074 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.632, allocations: 0.6756 MB / 1.433 GB, free: 1.398 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008618/1.641, allocations: 4.226 MB / 1.437 GB, free: 12.78 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/1.643, allocations: 0.7271 MB / 1.438 GB, free: 12.03 MB / 1.17 GB Notification: Performance of pre-optimization done (n=123): time 3.938e-06/1.643, allocations: 0 / 1.438 GB, free: 12.03 MB / 1.17 GB Notification: Performance of matching and sorting (n=123): time 0.006163/1.649, allocations: 2.187 MB / 1.44 GB, free: 9.82 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/1.649, allocations: 115.8 kB / 1.44 GB, free: 9.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/1.655, allocations: 3.525 MB / 1.444 GB, free: 6.129 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003591/1.656, allocations: 61.7 kB / 1.444 GB, free: 6.062 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/1.658, allocations: 1.778 MB / 1.446 GB, free: 4.273 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007121/1.658, allocations: 472 kB / 1.446 GB, free: 3.809 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/1.659, allocations: 463.8 kB / 1.447 GB, free: 3.348 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.659, allocations: 309.1 kB / 1.447 GB, free: 3.043 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/1.661, allocations: 0.7551 MB / 1.448 GB, free: 2.285 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/1.663, allocations: 1.389 MB / 1.449 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/1.666, allocations: 2.026 MB / 1.451 GB, free: 14.4 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.666, allocations: 4 kB / 1.451 GB, free: 14.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.005633/1.671, allocations: 2.603 MB / 1.453 GB, free: 11.78 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/1.671, allocations: 8 kB / 1.453 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/1.672, allocations: 16 kB / 1.453 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/1.672, allocations: 124.8 kB / 1.454 GB, free: 11.63 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.674, allocations: 455.3 kB / 1.454 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007517/1.674, allocations: 0.6694 MB / 1.455 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/1.678, allocations: 266.2 kB / 1.455 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/1.678, allocations: 95.98 kB / 1.455 GB, free: 10.13 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003594/1.681, allocations: 1.449 MB / 1.456 GB, free: 8.676 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002037/1.683, allocations: 1.359 MB / 1.458 GB, free: 7.059 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003341/1.687, allocations: 1.99 MB / 1.46 GB, free: 4.863 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.119e-05/1.687, allocations: 4 kB / 1.46 GB, free: 4.859 MB / 1.186 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.005721/1.693, allocations: 2.536 MB / 1.462 GB, free: 2.309 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.693, allocations: 12 kB / 1.462 GB, free: 2.297 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.693, allocations: 12 kB / 1.462 GB, free: 2.285 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/1.693, allocations: 72.98 kB / 1.462 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.694, allocations: 451.3 kB / 1.463 GB, free: 1.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/1.696, allocations: 1.737 MB / 1.464 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/1.7, allocations: 223.4 kB / 1.465 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/1.7, allocations: 92.11 kB / 1.465 GB, free: 15.59 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.int.local_reset,QCoo.nextTimeEventScaled,$PRE.QCoo.nextTimeEventScaled,QCoo.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 244 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006811/1.701, allocations: 307.6 kB / 1.465 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.702, allocations: 381.5 kB / 1.465 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/1.706, allocations: 1.865 MB / 1.467 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/1.709, allocations: 1.245 MB / 1.468 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.709, allocations: 0 / 1.468 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.711, allocations: 0.6466 MB / 1.469 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005107/1.711, allocations: 35.98 kB / 1.469 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.713, allocations: 71.95 kB / 1.469 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/1.713, allocations: 89.19 kB / 1.469 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004066/1.717, allocations: 1.758 MB / 1.471 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004852/1.722, allocations: 2.716 MB / 1.474 GB, free: 6.406 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001314/1.723, allocations: 0.6622 MB / 1.474 GB, free: 5.742 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004298/1.727, allocations: 2.349 MB / 1.477 GB, free: 3.387 MB / 1.201 GB Notification: Performance of Backend: time 4.81e-07/1.727, allocations: 0 / 1.477 GB, free: 3.387 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.738, allocations: 3.955 MB / 1.48 GB, free: 15.56 MB / 1.217 GB Notification: Performance of SimCode: time 0.01743/1.756, allocations: 8.279 MB / 1.488 GB, free: 7.27 MB / 1.217 GB Notification: Performance of Templates: time 1.009/2.764, allocations: 77.89 MB / 1.565 GB, free: 375.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct.sim & ./Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Direct.pipe 2>&1)