Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001049/0.001049, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.332/1.332, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0007286/0.0007287, allocations: 100.1 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 11.38 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop): time 2.724/2.924, allocations: 1.144 GB / 2.125 GB, free: 24.19 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 1.232/4.156, allocations: 248.8 MB / 2.368 GB, free: 12.21 MB / 1.307 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04875/4.205, allocations: 1.002 MB / 2.369 GB, free: 12.21 MB / 1.307 GB Notification: Performance of NFTyping.typeComponents: time 0.01521/4.22, allocations: 3.728 MB / 2.372 GB, free: 12.2 MB / 1.307 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.04074/4.261, allocations: 12.07 MB / 2.384 GB, free: 12.08 MB / 1.307 GB Notification: Performance of NFTyping.typeClassSections: time 0.02201/4.283, allocations: 6.595 MB / 2.39 GB, free: 11.92 MB / 1.307 GB Notification: Performance of NFFlatten.flatten: time 0.1144/4.397, allocations: 37.01 MB / 2.427 GB, free: 10.49 MB / 1.307 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02728/4.425, allocations: 8.646 MB / 2.435 GB, free: 25.14 MB / 1.323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03111/4.456, allocations: 9.51 MB / 2.444 GB, free: 25.09 MB / 1.323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01668/4.472, allocations: 6.328 MB / 2.451 GB, free: 25.07 MB / 1.323 GB Notification: Performance of NFPackage.collectConstants: time 0.004108/4.477, allocations: 360.2 kB / 2.451 GB, free: 25.07 MB / 1.323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0251/4.502, allocations: 9.251 MB / 2.46 GB, free: 25.07 MB / 1.323 GB Notification: Performance of NFScalarize.scalarize: time 0.006525/4.508, allocations: 2.241 MB / 2.462 GB, free: 25.07 MB / 1.323 GB Notification: Performance of NFVerifyModel.verify: time 0.0152/4.524, allocations: 4.819 MB / 2.467 GB, free: 25.03 MB / 1.323 GB Notification: Performance of NFConvertDAE.convert: time 0.02605/4.55, allocations: 18.33 MB / 2.485 GB, free: 21.18 MB / 1.323 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/4.55, allocations: 0 / 2.485 GB, free: 21.18 MB / 1.323 GB Notification: Performance of FrontEnd: time 4.278e-06/4.55, allocations: 0.6562 kB / 2.485 GB, free: 21.18 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.0006523/4.55, allocations: 0 / 2.485 GB, free: 21.18 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.02717/4.578, allocations: 9.437 MB / 2.494 GB, free: 15.59 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/4.578, allocations: 6.656 kB / 2.494 GB, free: 15.59 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/4.591, allocations: 2.411 MB / 2.496 GB, free: 14.56 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/4.614, allocations: 10.21 MB / 2.506 GB, free: 11.06 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002497/4.616, allocations: 0.9742 MB / 2.507 GB, free: 10.78 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/4.619, allocations: 0.6235 MB / 2.508 GB, free: 10.77 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/4.644, allocations: 7.455 MB / 2.515 GB, free: 8.754 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003376/4.644, allocations: 20.08 kB / 2.515 GB, free: 8.75 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002506/4.647, allocations: 243.7 kB / 2.515 GB, free: 8.75 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003183/4.647, allocations: 222.2 kB / 2.516 GB, free: 8.727 MB / 1.323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/4.666, allocations: 6.381 MB / 2.522 GB, free: 7.809 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.06712/4.734, allocations: 37.48 MB / 2.558 GB, free: 2.637 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/4.745, allocations: 4.576 MB / 2.563 GB, free: 1.754 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005007/4.75, allocations: 2.28 MB / 2.565 GB, free: 1.426 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02373/4.773, allocations: 11.71 MB / 2.577 GB, free: 11.27 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005735/4.779, allocations: 2.587 MB / 2.579 GB, free: 10.57 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004653/4.784, allocations: 0.5479 MB / 2.58 GB, free: 10.29 MB / 1.354 GB Notification: Performance of pre-optimization done (n=322): time 2.467e-05/4.784, allocations: 0 / 2.58 GB, free: 10.29 MB / 1.354 GB Notification: Performance of matching and sorting (n=322): time 0.02702/4.811, allocations: 8.371 MB / 2.588 GB, free: 5.41 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/4.811, allocations: 328.3 kB / 2.588 GB, free: 5.027 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01745/4.829, allocations: 7.81 MB / 2.596 GB, free: 15.68 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/4.83, allocations: 123.8 kB / 2.596 GB, free: 15.61 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.005457/4.835, allocations: 4.131 MB / 2.6 GB, free: 13.63 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.002558/4.838, allocations: 1.098 MB / 2.601 GB, free: 12.7 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/4.839, allocations: 89.38 kB / 2.601 GB, free: 12.68 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0004656/4.839, allocations: 491.8 kB / 2.601 GB, free: 12.27 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007776/4.847, allocations: 2.144 MB / 2.604 GB, free: 10.89 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009987/4.857, allocations: 3.906 MB / 2.607 GB, free: 7.215 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01659/4.873, allocations: 5.665 MB / 2.613 GB, free: 2.914 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-05/4.874, allocations: 12 kB / 2.613 GB, free: 2.902 MB / 1.37 GB Notification: Performance of matching and sorting (n=594) (initialization): time 0.02384/4.897, allocations: 7.008 MB / 2.62 GB, free: 14.08 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 0.001261/4.899, allocations: 1.335 MB / 2.621 GB, free: 12.34 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.149e-05/4.899, allocations: 44.98 kB / 2.621 GB, free: 12.29 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005314/4.904, allocations: 1.037 MB / 2.622 GB, free: 11.4 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005098/4.909, allocations: 1.118 MB / 2.623 GB, free: 10.39 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/4.913, allocations: 3.392 MB / 2.627 GB, free: 7.367 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008437/4.921, allocations: 0.7097 MB / 2.627 GB, free: 6.742 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/4.923, allocations: 246 kB / 2.627 GB, free: 6.543 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/4.923, allocations: 7.938 kB / 2.627 GB, free: 6.535 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01422/4.937, allocations: 5.955 MB / 2.633 GB, free: 2.824 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/4.937, allocations: 40 kB / 2.633 GB, free: 2.785 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004472/4.941, allocations: 0.9434 MB / 2.634 GB, free: 1.973 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/4.947, allocations: 1.056 MB / 2.635 GB, free: 1.016 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/4.949, allocations: 1.978 MB / 2.637 GB, free: 15.4 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008901/4.958, allocations: 0.664 MB / 2.638 GB, free: 14.82 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/4.959, allocations: 239.8 kB / 2.638 GB, free: 14.62 MB / 1.401 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.007904/4.967, allocations: 2.284 MB / 2.64 GB, free: 13.52 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003002/4.97, allocations: 0.8024 MB / 2.641 GB, free: 12.71 MB / 1.401 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/4.988, allocations: 5.801 MB / 2.647 GB, free: 8.816 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01187/5, allocations: 4.989 MB / 2.652 GB, free: 5.086 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/5, allocations: 4 kB / 2.652 GB, free: 5.082 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005919/5.006, allocations: 1.634 MB / 2.653 GB, free: 3.996 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004042/5.01, allocations: 74.06 kB / 2.653 GB, free: 3.973 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008341/5.018, allocations: 0.5579 MB / 2.654 GB, free: 3.465 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009484/5.019, allocations: 226.4 kB / 2.654 GB, free: 3.27 MB / 1.401 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01848/5.038, allocations: 6.13 MB / 2.66 GB, free: 14.82 MB / 1.417 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01952/5.058, allocations: 8.336 MB / 2.668 GB, free: 8.934 MB / 1.417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00516/5.063, allocations: 2.219 MB / 2.67 GB, free: 7.523 MB / 1.417 GB Notification: Performance of sorting global known variables: time 0.01237/5.075, allocations: 5.254 MB / 2.675 GB, free: 4.078 MB / 1.417 GB Notification: Performance of Backend: time 1.613e-06/5.075, allocations: 0 / 2.675 GB, free: 4.078 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.02927/5.104, allocations: 9.351 MB / 2.685 GB, free: 13.41 MB / 1.432 GB Notification: Performance of SimCode: time 0.04857/5.153, allocations: 21.05 MB / 2.705 GB, free: 10.34 MB / 1.448 GB Notification: Performance of Templates: time 0.3334/5.486, allocations: 197.3 MB / 2.898 GB, free: 6.441 MB / 1.635 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe 2>&1)