Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.71/1.71, allocations: 287.4 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 177.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008794/0.0008795, allocations: 94.3 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005612, allocations: 9.828 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2402, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop): time 3.161/3.401, allocations: 1.144 GB / 2.123 GB, free: 26.92 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 1.38/4.782, allocations: 248.8 MB / 2.366 GB, free: 11.97 MB / 1.307 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05725/4.839, allocations: 1.005 MB / 2.367 GB, free: 11.97 MB / 1.307 GB Notification: Performance of NFTyping.typeComponents: time 0.01905/4.858, allocations: 3.502 MB / 2.371 GB, free: 11.97 MB / 1.307 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. Notification: Performance of NFTyping.typeBindings: time 0.04564/4.904, allocations: 10.82 MB / 2.381 GB, free: 11.86 MB / 1.307 GB Notification: Performance of NFTyping.typeClassSections: time 0.03009/4.934, allocations: 6.534 MB / 2.388 GB, free: 11.75 MB / 1.307 GB Notification: Performance of NFFlatten.flatten: time 0.06692/5.001, allocations: 34.79 MB / 2.421 GB, free: 11.46 MB / 1.307 GB Notification: Performance of NFFlatten.resolveConnections: time 0.028/5.029, allocations: 8.611 MB / 2.43 GB, free: 26.12 MB / 1.323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02848/5.058, allocations: 9.007 MB / 2.439 GB, free: 26.07 MB / 1.323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01632/5.074, allocations: 6.324 MB / 2.445 GB, free: 26.05 MB / 1.323 GB Notification: Performance of NFPackage.collectConstants: time 0.004807/5.079, allocations: 360.3 kB / 2.445 GB, free: 26.05 MB / 1.323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02428/5.103, allocations: 5.457 MB / 2.451 GB, free: 26.05 MB / 1.323 GB Notification: Performance of NFScalarize.scalarize: time 0.007215/5.11, allocations: 2.248 MB / 2.453 GB, free: 26.05 MB / 1.323 GB Notification: Performance of NFVerifyModel.verify: time 0.009388/5.12, allocations: 2.274 MB / 2.455 GB, free: 26.02 MB / 1.323 GB Notification: Performance of NFConvertDAE.convert: time 0.03123/5.151, allocations: 17.86 MB / 2.472 GB, free: 24.28 MB / 1.323 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/5.151, allocations: 10.11 kB / 2.472 GB, free: 24.27 MB / 1.323 GB Notification: Performance of FrontEnd: time 3.026e-06/5.151, allocations: 0 / 2.472 GB, free: 24.27 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.0008013/5.152, allocations: 0.6562 kB / 2.472 GB, free: 24.27 MB / 1.323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.02956/5.181, allocations: 9.442 MB / 2.482 GB, free: 18.68 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/5.182, allocations: 8.906 kB / 2.482 GB, free: 18.68 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/5.196, allocations: 2.403 MB / 2.484 GB, free: 17.65 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0258/5.222, allocations: 10.21 MB / 2.494 GB, free: 14.16 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002557/5.224, allocations: 0.9734 MB / 2.495 GB, free: 13.88 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00316/5.227, allocations: 0.6188 MB / 2.495 GB, free: 13.88 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02597/5.253, allocations: 7.462 MB / 2.503 GB, free: 11.85 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/5.254, allocations: 12.69 kB / 2.503 GB, free: 11.85 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002382/5.256, allocations: 247 kB / 2.503 GB, free: 11.85 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003023/5.257, allocations: 223.8 kB / 2.503 GB, free: 11.83 MB / 1.323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/5.278, allocations: 6.376 MB / 2.509 GB, free: 10.91 MB / 1.323 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.07628/5.354, allocations: 37.5 MB / 2.546 GB, free: 5.727 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/5.367, allocations: 4.565 MB / 2.551 GB, free: 4.848 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0055/5.372, allocations: 2.282 MB / 2.553 GB, free: 4.523 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02583/5.398, allocations: 11.72 MB / 2.564 GB, free: 14.37 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006332/5.404, allocations: 2.584 MB / 2.567 GB, free: 13.67 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005107/5.41, allocations: 0.554 MB / 2.567 GB, free: 13.39 MB / 1.354 GB Notification: Performance of pre-optimization done (n=322): time 2.555e-05/5.41, allocations: 1.203 kB / 2.567 GB, free: 13.39 MB / 1.354 GB Notification: Performance of matching and sorting (n=322): time 0.02653/5.436, allocations: 8.367 MB / 2.575 GB, free: 11.25 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/5.436, allocations: 321.5 kB / 2.576 GB, free: 10.9 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02426/5.461, allocations: 7.811 MB / 2.583 GB, free: 6.52 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001562/5.462, allocations: 124.8 kB / 2.584 GB, free: 6.453 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.006657/5.469, allocations: 4.127 MB / 2.588 GB, free: 4.473 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.002369/5.471, allocations: 1.102 MB / 2.589 GB, free: 3.539 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/5.473, allocations: 98.12 kB / 2.589 GB, free: 3.516 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0005579/5.473, allocations: 481.9 kB / 2.589 GB, free: 3.109 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006003/5.479, allocations: 2.148 MB / 2.591 GB, free: 1.734 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007473/5.487, allocations: 3.904 MB / 2.595 GB, free: 14.06 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/5.498, allocations: 5.664 MB / 2.601 GB, free: 9.758 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.439e-05/5.498, allocations: 12 kB / 2.601 GB, free: 9.746 MB / 1.37 GB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01859/5.517, allocations: 7.014 MB / 2.607 GB, free: 4.922 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/5.518, allocations: 1.337 MB / 2.609 GB, free: 3.176 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-05/5.518, allocations: 40 kB / 2.609 GB, free: 3.137 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004667/5.523, allocations: 1.027 MB / 2.61 GB, free: 2.254 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/5.528, allocations: 1.119 MB / 2.611 GB, free: 1.238 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/5.532, allocations: 3.402 MB / 2.614 GB, free: 14.21 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/5.543, allocations: 0.7044 MB / 2.615 GB, free: 13.59 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/5.545, allocations: 244.8 kB / 2.615 GB, free: 13.39 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/5.545, allocations: 4 kB / 2.615 GB, free: 13.39 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01679/5.562, allocations: 5.952 MB / 2.621 GB, free: 9.68 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/5.562, allocations: 44 kB / 2.621 GB, free: 9.637 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/5.567, allocations: 0.9512 MB / 2.622 GB, free: 8.816 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005722/5.572, allocations: 1.058 MB / 2.623 GB, free: 7.859 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/5.576, allocations: 1.975 MB / 2.625 GB, free: 6.246 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/5.586, allocations: 0.6676 MB / 2.626 GB, free: 5.66 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/5.587, allocations: 243.4 kB / 2.626 GB, free: 5.461 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 38 ($whenCondition5,$PRE.buiHea.loa.nextTimeEvent,$whenCondition6,$PRE.QAveHeaReq_flow.mode,QAveHeaReq_flow.mode,$whenCondition7,$PRE.QAveHeaAct_flow.mode,QAveHeaAct_flow.mode,$whenCondition1,$PRE.buiCoo.loa.nextTimeEvent,$whenCondition2,$PRE.QAveCooReq_flow.mode,QAveCooReq_flow.mode,$whenCondition3,$PRE.QAveCooAct_flow.mode,QAveCooAct_flow.mode,buiCoo.terUniCoo.con1.y,$whenCondition4,buiCoo.loa.nextTimeEvent,$PRE.buiCoo.loa.nextTimeEventScaled,buiCoo.loa.nextTimeEventScaled,buiCoo.terUniCoo.hex.flowRegime,$PRE.buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.hex.flowRegime_nominal,buiHea.terUniHea.con1.y,$whenCondition8,buiHea.loa.nextTimeEvent,$PRE.buiHea.loa.nextTimeEventScaled,buiHea.loa.nextTimeEventScaled,buiHea.terUniHea.hex.flowRegime,$PRE.buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.hex.flowRegime_nominal,EHeaAct.local_reset,EHeaReq.local_reset,ECooAct.local_reset,ECooReq.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (542): * Single equations (assignments): 534 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 24,1 24} Notification: Performance of prepare postOptimizeDAE: time 0.008035/5.595, allocations: 2.281 MB / 2.628 GB, free: 4.363 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003139/5.598, allocations: 0.8015 MB / 2.629 GB, free: 3.555 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/5.616, allocations: 5.813 MB / 2.634 GB, free: 15.66 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01111/5.627, allocations: 4.984 MB / 2.639 GB, free: 11.94 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/5.627, allocations: 7.938 kB / 2.639 GB, free: 11.93 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0055/5.633, allocations: 1.632 MB / 2.641 GB, free: 10.85 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002824/5.636, allocations: 71.62 kB / 2.641 GB, free: 10.83 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007083/5.643, allocations: 0.5495 MB / 2.642 GB, free: 10.32 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007429/5.644, allocations: 223.2 kB / 2.642 GB, free: 10.13 MB / 1.401 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01701/5.661, allocations: 6.134 MB / 2.648 GB, free: 5.68 MB / 1.401 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01971/5.68, allocations: 8.328 MB / 2.656 GB, free: 15.8 MB / 1.417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005276/5.686, allocations: 2.198 MB / 2.658 GB, free: 14.41 MB / 1.417 GB Notification: Performance of sorting global known variables: time 0.01342/5.699, allocations: 5.253 MB / 2.663 GB, free: 10.96 MB / 1.417 GB Notification: Performance of Backend: time 9.51e-07/5.699, allocations: 4 kB / 2.663 GB, free: 10.96 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.03153/5.731, allocations: 9.268 MB / 2.672 GB, free: 4.492 MB / 1.417 GB Notification: Performance of SimCode: time 0.05463/5.785, allocations: 21.06 MB / 2.693 GB, free: 1.477 MB / 1.432 GB Notification: Performance of Templates: time 0.3447/6.13, allocations: 195.2 MB / 2.883 GB, free: 15.97 MB / 1.635 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe 2>&1)