Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.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 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.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_latest_Buildings.DHC.ETS.Cooling.Examples.Direct") translateModel(Buildings.DHC.ETS.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_latest_Buildings.DHC.ETS.Cooling.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001499/0.001499, allocations: 189.5 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.121, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Direct): time 0.1824/1.304, allocations: 155.2 MB / 1.36 GB, free: 1.895 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.05599/1.36, allocations: 34.2 MB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009368/1.369, allocations: 163.1 kB / 1.394 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/1.38, allocations: 3 MB / 1.397 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01739/1.397, allocations: 5.445 MB / 1.402 GB, free: 6.969 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01196/1.409, allocations: 4.407 MB / 1.406 GB, free: 2.59 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02089/1.43, allocations: 13.56 MB / 1.419 GB, free: 5.004 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008168/1.438, allocations: 3.667 MB / 1.423 GB, free: 1.273 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/1.45, allocations: 4.353 MB / 1.427 GB, free: 12.91 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007174/1.458, allocations: 2.964 MB / 1.43 GB, free: 9.938 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002295/1.46, allocations: 404 kB / 1.43 GB, free: 9.543 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/1.471, allocations: 2.945 MB / 1.433 GB, free: 6.594 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00326/1.474, allocations: 1.164 MB / 1.434 GB, free: 5.426 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.009179/1.483, allocations: 2.403 MB / 1.437 GB, free: 3.012 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02612/1.509, allocations: 7.451 MB / 1.444 GB, free: 11.54 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/1.509, allocations: 0 / 1.444 GB, free: 11.54 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.198e-06/1.509, allocations: 0 / 1.444 GB, free: 11.54 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004213/1.51, allocations: 0 / 1.444 GB, free: 11.54 MB / 1.17 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.02017/1.53, allocations: 4.988 MB / 1.449 GB, free: 6.461 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/1.53, allocations: 8.031 kB / 1.449 GB, free: 6.453 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/1.534, allocations: 0.5801 MB / 1.45 GB, free: 5.867 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/1.547, allocations: 4.658 MB / 1.454 GB, free: 1.148 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/1.547, allocations: 176.4 kB / 1.454 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008936/1.548, allocations: 251.8 kB / 1.455 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005728/1.554, allocations: 2.467 MB / 1.457 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/1.554, allocations: 7.938 kB / 1.457 GB, free: 14.11 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/1.554, allocations: 88 kB / 1.457 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/1.555, allocations: 92.22 kB / 1.457 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/1.559, allocations: 1.843 MB / 1.459 GB, free: 12.07 MB / 1.186 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.02547/1.585, allocations: 13.16 MB / 1.472 GB, free: 13.99 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/1.587, allocations: 1.228 MB / 1.473 GB, free: 12.75 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/1.589, allocations: 0.6717 MB / 1.474 GB, free: 12.07 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008834/1.597, allocations: 4.226 MB / 1.478 GB, free: 7.453 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/1.599, allocations: 0.7271 MB / 1.478 GB, free: 6.703 MB / 1.201 GB Notification: Performance of pre-optimization done (n=123): time 5.04e-06/1.599, allocations: 0 / 1.478 GB, free: 6.703 MB / 1.201 GB Notification: Performance of matching and sorting (n=123): time 0.006447/1.605, allocations: 2.161 MB / 1.481 GB, free: 4.516 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/1.606, allocations: 115.8 kB / 1.481 GB, free: 4.375 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006724/1.612, allocations: 3.517 MB / 1.484 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004542/1.613, allocations: 57.7 kB / 1.484 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002072/1.615, allocations: 1.752 MB / 1.486 GB, free: 15 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008536/1.616, allocations: 453.6 kB / 1.486 GB, free: 14.55 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007634/1.617, allocations: 463.6 kB / 1.487 GB, free: 14.09 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.617, allocations: 309.1 kB / 1.487 GB, free: 13.79 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.618, allocations: 0.759 MB / 1.488 GB, free: 13.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/1.62, allocations: 1.389 MB / 1.489 GB, free: 11.38 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/1.623, allocations: 2.03 MB / 1.491 GB, free: 9.141 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.623, allocations: 4 kB / 1.491 GB, free: 9.137 MB / 1.217 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.005436/1.629, allocations: 2.574 MB / 1.494 GB, free: 6.551 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.629, allocations: 12 kB / 1.494 GB, free: 6.539 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.342e-05/1.629, allocations: 16 kB / 1.494 GB, free: 6.523 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/1.629, allocations: 128.6 kB / 1.494 GB, free: 6.395 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.631, allocations: 451.3 kB / 1.494 GB, free: 5.953 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006291/1.631, allocations: 0.6693 MB / 1.495 GB, free: 5.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/1.634, allocations: 261.6 kB / 1.495 GB, free: 5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.634, allocations: 91.98 kB / 1.495 GB, free: 4.91 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00295/1.637, allocations: 1.449 MB / 1.497 GB, free: 3.457 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001858/1.639, allocations: 1.362 MB / 1.498 GB, free: 1.836 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002974/1.642, allocations: 1.986 MB / 1.5 GB, free: 15.64 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.204e-05/1.642, allocations: 4 kB / 1.5 GB, free: 15.64 MB / 1.232 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.005309/1.648, allocations: 2.519 MB / 1.502 GB, free: 13.11 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.648, allocations: 10.03 kB / 1.502 GB, free: 13.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.648, allocations: 16 kB / 1.502 GB, free: 13.08 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/1.648, allocations: 64.83 kB / 1.502 GB, free: 13.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.649, allocations: 459.3 kB / 1.503 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/1.651, allocations: 1.74 MB / 1.505 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/1.654, allocations: 206.6 kB / 1.505 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/1.655, allocations: 91.98 kB / 1.505 GB, free: 10.39 MB / 1.232 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.001017/1.656, allocations: 303.6 kB / 1.505 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/1.658, allocations: 363.4 kB / 1.506 GB, free: 9.727 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/1.663, allocations: 1.865 MB / 1.507 GB, free: 7.844 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002874/1.666, allocations: 1.257 MB / 1.509 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.666, allocations: 0 / 1.509 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003094/1.67, allocations: 0.6249 MB / 1.509 GB, free: 5.926 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001568/1.671, allocations: 28 kB / 1.509 GB, free: 5.898 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.673, allocations: 75.92 kB / 1.509 GB, free: 5.824 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.673, allocations: 89.19 kB / 1.509 GB, free: 5.734 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004075/1.677, allocations: 1.754 MB / 1.511 GB, free: 3.969 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005417/1.683, allocations: 2.686 MB / 1.514 GB, free: 1.262 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001196/1.684, allocations: 0.67 MB / 1.514 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.005808/1.69, allocations: 2.345 MB / 1.517 GB, free: 14.24 MB / 1.248 GB Notification: Performance of Backend: time 8.22e-07/1.69, allocations: 0 / 1.517 GB, free: 14.24 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01393/1.704, allocations: 3.915 MB / 1.52 GB, free: 10.51 MB / 1.248 GB Notification: Performance of SimCode: time 0.02077/1.725, allocations: 8.163 MB / 1.528 GB, free: 2.355 MB / 1.248 GB Notification: Performance of Templates: time 0.892/2.617, allocations: 77.05 MB / 1.604 GB, free: 320.9 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.sim & ./Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe 2>&1)