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.001551/0.001551, allocations: 115.4 kB / 16.42 MB, free: 6.5 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.001708/0.001708, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.538/1.538, allocations: 222.9 MB / 241 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.906/2.906, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 59.91 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9889/0.9905, allocations: 159.1 MB / 1.221 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Direct): time 0.1532/1.144, allocations: 155.2 MB / 1.372 GB, free: 6.543 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.05372/1.197, allocations: 34.21 MB / 1.406 GB, free: 4.254 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007991/1.206, allocations: 167.1 kB / 1.406 GB, free: 4.09 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/1.216, allocations: 3.043 MB / 1.409 GB, free: 1.031 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01976/1.236, allocations: 5.709 MB / 1.415 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.01489/1.251, allocations: 4.428 MB / 1.419 GB, free: 6.902 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.02369/1.275, allocations: 13.58 MB / 1.432 GB, free: 9.293 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008537/1.283, allocations: 3.663 MB / 1.436 GB, free: 5.562 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/1.296, allocations: 4.376 MB / 1.44 GB, free: 1.184 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006882/1.303, allocations: 2.96 MB / 1.443 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002117/1.305, allocations: 404 kB / 1.443 GB, free: 13.82 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00928/1.315, allocations: 2.945 MB / 1.446 GB, free: 10.87 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002739/1.317, allocations: 1.164 MB / 1.447 GB, free: 9.699 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.006688/1.324, allocations: 2.403 MB / 1.45 GB, free: 7.285 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01684/1.341, allocations: 7.458 MB / 1.457 GB, free: 15.8 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.341, allocations: 0 / 1.457 GB, free: 15.8 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.344e-06/1.341, allocations: 0 / 1.457 GB, free: 15.8 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002697/1.341, allocations: 4 kB / 1.457 GB, free: 15.8 MB / 1.186 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.01606/1.357, allocations: 4.975 MB / 1.462 GB, free: 10.74 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/1.357, allocations: 8.625 kB / 1.462 GB, free: 10.73 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/1.361, allocations: 0.5762 MB / 1.462 GB, free: 10.15 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/1.372, allocations: 4.654 MB / 1.467 GB, free: 5.426 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/1.372, allocations: 180.4 kB / 1.467 GB, free: 5.246 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009141/1.373, allocations: 251.8 kB / 1.467 GB, free: 5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00709/1.381, allocations: 2.47 MB / 1.47 GB, free: 2.387 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/1.381, allocations: 7.938 kB / 1.47 GB, free: 2.379 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000503/1.381, allocations: 91.98 kB / 1.47 GB, free: 2.289 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/1.381, allocations: 88.23 kB / 1.47 GB, free: 2.199 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005019/1.386, allocations: 1.84 MB / 1.472 GB, free: 352 kB / 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.02257/1.409, allocations: 13.18 MB / 1.485 GB, free: 2.254 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/1.411, allocations: 1.222 MB / 1.486 GB, free: 1.012 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/1.413, allocations: 0.6756 MB / 1.486 GB, free: 348 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008282/1.421, allocations: 4.218 MB / 1.491 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/1.423, allocations: 0.7193 MB / 1.491 GB, free: 10.99 MB / 1.217 GB Notification: Performance of pre-optimization done (n=123): time 5.551e-06/1.423, allocations: 4 kB / 1.491 GB, free: 10.99 MB / 1.217 GB Notification: Performance of matching and sorting (n=123): time 0.006224/1.429, allocations: 2.169 MB / 1.493 GB, free: 8.793 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/1.429, allocations: 119.8 kB / 1.494 GB, free: 8.648 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007698/1.437, allocations: 3.517 MB / 1.497 GB, free: 5.102 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004165/1.437, allocations: 57.7 kB / 1.497 GB, free: 5.039 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002196/1.44, allocations: 1.748 MB / 1.499 GB, free: 3.277 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007728/1.44, allocations: 449.6 kB / 1.499 GB, free: 2.832 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/1.442, allocations: 467.6 kB / 1.5 GB, free: 2.367 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.442, allocations: 305.1 kB / 1.5 GB, free: 2.066 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/1.443, allocations: 0.7591 MB / 1.501 GB, free: 1.305 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/1.446, allocations: 1.397 MB / 1.502 GB, free: 15.65 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/1.449, allocations: 2.034 MB / 1.504 GB, free: 13.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/1.449, allocations: 4 kB / 1.504 GB, free: 13.4 MB / 1.232 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.006129/1.455, allocations: 2.571 MB / 1.506 GB, free: 10.82 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/1.455, allocations: 12 kB / 1.506 GB, free: 10.81 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/1.455, allocations: 19.94 kB / 1.507 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/1.456, allocations: 124.7 kB / 1.507 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.458, allocations: 451.3 kB / 1.507 GB, free: 10.22 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007277/1.458, allocations: 0.6615 MB / 1.508 GB, free: 9.535 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/1.462, allocations: 257.9 kB / 1.508 GB, free: 9.281 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/1.462, allocations: 91.98 kB / 1.508 GB, free: 9.191 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003472/1.466, allocations: 1.453 MB / 1.509 GB, free: 7.73 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002105/1.468, allocations: 1.358 MB / 1.511 GB, free: 6.109 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003279/1.471, allocations: 1.994 MB / 1.513 GB, free: 3.906 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.955e-05/1.471, allocations: 4 kB / 1.513 GB, free: 3.902 MB / 1.232 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.005616/1.477, allocations: 2.519 MB / 1.515 GB, free: 1.371 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.477, allocations: 12 kB / 1.515 GB, free: 1.359 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.477, allocations: 15.98 kB / 1.515 GB, free: 1.344 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/1.477, allocations: 64.84 kB / 1.515 GB, free: 1.277 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.479, allocations: 447.3 kB / 1.516 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/1.48, allocations: 1.764 MB / 1.517 GB, free: 14.94 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.483, allocations: 202.5 kB / 1.518 GB, free: 14.74 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/1.484, allocations: 100 kB / 1.518 GB, free: 14.64 MB / 1.248 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.000676/1.484, allocations: 303.6 kB / 1.518 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.486, allocations: 359.5 kB / 1.518 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/1.49, allocations: 1.857 MB / 1.52 GB, free: 12.11 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002374/1.493, allocations: 1.253 MB / 1.521 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.493, allocations: 4 kB / 1.521 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.495, allocations: 0.6288 MB / 1.522 GB, free: 10.19 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/1.496, allocations: 28 kB / 1.522 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.498, allocations: 75.98 kB / 1.522 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/1.499, allocations: 81.2 kB / 1.522 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004092/1.503, allocations: 1.754 MB / 1.524 GB, free: 8.238 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005042/1.508, allocations: 2.689 MB / 1.527 GB, free: 5.531 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001137/1.509, allocations: 0.6622 MB / 1.527 GB, free: 4.871 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.005326/1.514, allocations: 2.349 MB / 1.529 GB, free: 2.516 MB / 1.248 GB Notification: Performance of Backend: time 3.5e-07/1.514, allocations: 7.875 kB / 1.529 GB, free: 2.508 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.527, allocations: 3.914 MB / 1.533 GB, free: 14.77 MB / 1.264 GB Notification: Performance of SimCode: time 0.02454/1.551, allocations: 8.155 MB / 1.541 GB, free: 6.621 MB / 1.264 GB Notification: Performance of Templates: time 0.9106/2.462, allocations: 77.05 MB / 1.617 GB, free: 296.5 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)