Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.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 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.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTDisRet.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.hex.m1_flow|cooETS.hex.m2_flow|loa.m_flow|cooETS.conVal.y|cooETS.hex.port_a1.p|cooETS.hex.port_b1.p|cooETS.hex.port_a2.p|cooETS.hex.port_b2.p|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTDisRet.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.hex.m1_flow|cooETS.hex.m2_flow|loa.m_flow|cooETS.conVal.y|cooETS.hex.port_a1.p|cooETS.hex.port_b1.p|cooETS.hex.port_a2.p|cooETS.hex.port_b2.p|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002518/0.002518, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.002759/0.002758, allocations: 183.9 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.506/1.506, 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 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9733/0.9759, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect): time 0.1343/1.11, allocations: 115.3 MB / 1.28 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04925/1.159, allocations: 31.16 MB / 1.31 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006361/1.166, allocations: 131.2 kB / 1.31 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009025/1.175, allocations: 2.738 MB / 1.313 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0151/1.19, allocations: 4.766 MB / 1.318 GB, free: 9.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/1.202, allocations: 4.09 MB / 1.322 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01916/1.221, allocations: 11.2 MB / 1.333 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007006/1.228, allocations: 3.037 MB / 1.336 GB, free: 6.848 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/1.238, allocations: 3.701 MB / 1.339 GB, free: 3.145 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005186/1.244, allocations: 2.423 MB / 1.342 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001758/1.245, allocations: 363.9 kB / 1.342 GB, free: 364 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008892/1.254, allocations: 3.713 MB / 1.346 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001817/1.256, allocations: 1.024 MB / 1.347 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004516/1.261, allocations: 2.068 MB / 1.349 GB, free: 9.531 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01566/1.276, allocations: 7.062 MB / 1.356 GB, free: 2.445 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.276, allocations: 0 / 1.356 GB, free: 2.445 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.104e-06/1.277, allocations: 0 / 1.356 GB, free: 2.445 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002594/1.277, allocations: 0 / 1.356 GB, free: 2.445 MB / 1.076 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.0136/1.29, allocations: 4.667 MB / 1.36 GB, free: 13.69 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/1.29, allocations: 12.88 kB / 1.36 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/1.296, allocations: 0.8599 MB / 1.361 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/1.307, allocations: 4.174 MB / 1.365 GB, free: 8.586 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/1.307, allocations: 163.8 kB / 1.365 GB, free: 8.426 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008908/1.308, allocations: 216 kB / 1.365 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007141/1.315, allocations: 2.335 MB / 1.368 GB, free: 5.797 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.321e-05/1.315, allocations: 7.938 kB / 1.368 GB, free: 5.789 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/1.315, allocations: 79.98 kB / 1.368 GB, free: 5.711 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-05/1.316, allocations: 75.48 kB / 1.368 GB, free: 5.637 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005823/1.321, allocations: 2.02 MB / 1.37 GB, free: 3.613 MB / 1.092 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.02746/1.349, allocations: 11.76 MB / 1.381 GB, free: 7.172 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0051/1.354, allocations: 1.642 MB / 1.383 GB, free: 5.508 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/1.357, allocations: 0.887 MB / 1.384 GB, free: 4.617 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/1.371, allocations: 5.426 MB / 1.389 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002445/1.374, allocations: 0.9894 MB / 1.39 GB, free: 13.76 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001251/1.375, allocations: 142.9 kB / 1.39 GB, free: 13.62 MB / 1.123 GB Notification: Performance of pre-optimization done (n=134): time 7.063e-06/1.375, allocations: 0 / 1.39 GB, free: 13.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=137): time 0.01699/1.392, allocations: 5.822 MB / 1.396 GB, free: 7.695 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/1.392, allocations: 116.1 kB / 1.396 GB, free: 7.559 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/1.399, allocations: 3.089 MB / 1.399 GB, free: 4.48 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004402/1.399, allocations: 61.7 kB / 1.399 GB, free: 4.414 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/1.401, allocations: 1.476 MB / 1.4 GB, free: 2.926 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000726/1.402, allocations: 0.4996 MB / 1.401 GB, free: 2.422 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/1.403, allocations: 491.9 kB / 1.401 GB, free: 1.934 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.403, allocations: 305.1 kB / 1.402 GB, free: 1.633 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/1.405, allocations: 0.97 MB / 1.403 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/1.408, allocations: 1.497 MB / 1.404 GB, free: 14.94 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/1.413, allocations: 2.282 MB / 1.406 GB, free: 12.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/1.413, allocations: 8 kB / 1.406 GB, free: 12.51 MB / 1.139 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.00762/1.421, allocations: 3.01 MB / 1.409 GB, free: 9.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/1.421, allocations: 12 kB / 1.409 GB, free: 9.469 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/1.421, allocations: 8 kB / 1.409 GB, free: 9.461 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/1.422, allocations: 327.3 kB / 1.41 GB, free: 9.137 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.424, allocations: 0.4915 MB / 1.41 GB, free: 8.645 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/1.426, allocations: 1.468 MB / 1.412 GB, free: 7.125 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/1.429, allocations: 164.2 kB / 1.412 GB, free: 6.965 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/1.429, allocations: 108 kB / 1.412 GB, free: 6.859 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003602/1.433, allocations: 1.531 MB / 1.413 GB, free: 5.32 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002671/1.435, allocations: 1.475 MB / 1.415 GB, free: 3.641 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004434/1.44, allocations: 2.219 MB / 1.417 GB, free: 1.262 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-05/1.44, allocations: 8 kB / 1.417 GB, free: 1.254 MB / 1.139 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.006667/1.447, allocations: 2.932 MB / 1.42 GB, free: 14.31 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.447, allocations: 16 kB / 1.42 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/1.447, allocations: 11.94 kB / 1.42 GB, free: 14.28 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.448, allocations: 295.7 kB / 1.42 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.45, allocations: 499.3 kB / 1.421 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.452, allocations: 2.558 MB / 1.423 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/1.455, allocations: 182.1 kB / 1.423 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/1.455, allocations: 95.97 kB / 1.423 GB, free: 10.51 MB / 1.154 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.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.int.local_reset,cooETS.hex.flowRegime_nominal,cooETS.hex.flowRegime,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 (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.0006472/1.456, allocations: 299.8 kB / 1.424 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.457, allocations: 342 kB / 1.424 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006563/1.463, allocations: 2.505 MB / 1.426 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004429/1.468, allocations: 2.046 MB / 1.428 GB, free: 5.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.468, allocations: 0 / 1.428 GB, free: 5.273 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.47, allocations: 0.6586 MB / 1.429 GB, free: 4.594 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008652/1.471, allocations: 36 kB / 1.429 GB, free: 4.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.473, allocations: 136.2 kB / 1.429 GB, free: 4.426 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/1.473, allocations: 109 kB / 1.429 GB, free: 4.316 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006392/1.48, allocations: 2.417 MB / 1.432 GB, free: 1.891 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007306/1.487, allocations: 3.458 MB / 1.435 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001976/1.489, allocations: 0.9283 MB / 1.436 GB, free: 13.47 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003807/1.493, allocations: 2.055 MB / 1.438 GB, free: 11.43 MB / 1.17 GB Notification: Performance of Backend: time 5.31e-07/1.493, allocations: 0 / 1.438 GB, free: 11.43 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.505, allocations: 4.593 MB / 1.442 GB, free: 6.973 MB / 1.17 GB Notification: Performance of SimCode: time 0.01429/1.519, allocations: 7.192 MB / 1.449 GB, free: 15.74 MB / 1.186 GB Notification: Performance of Templates: time 0.1326/1.652, allocations: 78.9 MB / 1.527 GB, free: 1.477 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect.sim & ./Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Examples.Indirect.pipe 2>&1)