Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Loads.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 109.9 kB / 16.37 MB, free: 6.262 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.00174/0.00174, allocations: 192.4 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 75.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1904, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop): time 2.402/2.593, allocations: 1.241 GB / 2.026 GB, free: 13 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 1.077/3.67, allocations: 264.5 MB / 2.284 GB, free: 13.12 MB / 1.357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05031/3.72, allocations: 1.167 MB / 2.286 GB, free: 13.12 MB / 1.357 GB Notification: Performance of NFTyping.typeComponents: time 0.01665/3.737, allocations: 5.714 MB / 2.291 GB, free: 11.52 MB / 1.357 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.04287/3.78, allocations: 15.18 MB / 2.306 GB, free: 7.484 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02552/3.805, allocations: 10.36 MB / 2.316 GB, free: 0.6445 MB / 1.357 GB Notification: Performance of NFFlatten.flatten: time 0.07644/3.882, allocations: 33.78 MB / 2.349 GB, free: 2.434 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01982/3.902, allocations: 11.02 MB / 2.36 GB, free: 11.83 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02838/3.93, allocations: 12.38 MB / 2.372 GB, free: 2.109 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01386/3.944, allocations: 7.171 MB / 2.379 GB, free: 11.74 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.004188/3.948, allocations: 1.316 MB / 2.38 GB, free: 10.42 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02357/3.972, allocations: 10 MB / 2.39 GB, free: 1.777 MB / 1.404 GB Notification: Performance of NFScalarize.scalarize: time 0.005037/3.977, allocations: 3.323 MB / 2.393 GB, free: 14.51 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.01094/3.988, allocations: 6.137 MB / 2.399 GB, free: 8.387 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.03489/4.023, allocations: 22.92 MB / 2.422 GB, free: 2.125 MB / 1.436 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/4.023, allocations: 0 / 2.422 GB, free: 2.125 MB / 1.436 GB Notification: Performance of FrontEnd: time 1.623e-06/4.023, allocations: 0 / 2.422 GB, free: 2.125 MB / 1.436 GB Notification: Performance of Transformations before backend: time 0.000459/4.023, allocations: 0 / 2.422 GB, free: 2.125 MB / 1.436 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.02674/4.05, allocations: 11.57 MB / 2.433 GB, free: 6.547 MB / 1.451 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/4.05, allocations: 16.02 kB / 2.433 GB, free: 6.531 MB / 1.451 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/4.063, allocations: 2.289 MB / 2.435 GB, free: 4.234 MB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/4.084, allocations: 10.46 MB / 2.445 GB, free: 9.867 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006606/4.085, allocations: 0.596 MB / 2.446 GB, free: 9.25 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/4.087, allocations: 0.6126 MB / 2.447 GB, free: 8.641 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/4.104, allocations: 7.44 MB / 2.454 GB, free: 0.9102 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/4.104, allocations: 19.78 kB / 2.454 GB, free: 0.8906 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000634/4.105, allocations: 244 kB / 2.454 GB, free: 0.6523 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/4.105, allocations: 222.8 kB / 2.454 GB, free: 440 kB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/4.119, allocations: 6.105 MB / 2.46 GB, free: 10.3 MB / 1.482 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.05195/4.171, allocations: 37.95 MB / 2.497 GB, free: 2.758 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/4.181, allocations: 4.406 MB / 2.502 GB, free: 14.28 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004461/4.186, allocations: 2.129 MB / 2.504 GB, free: 12.14 MB / 1.529 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/4.204, allocations: 11.47 MB / 2.515 GB, free: 32 kB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00512/4.209, allocations: 2.397 MB / 2.517 GB, free: 13.58 MB / 1.545 GB Notification: Performance of pre-optimization done (n=310): time 6.502e-06/4.209, allocations: 0 / 2.517 GB, free: 13.58 MB / 1.545 GB Notification: Performance of matching and sorting (n=310): time 0.0228/4.232, allocations: 7.617 MB / 2.525 GB, free: 5.918 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/4.232, allocations: 321.3 kB / 2.525 GB, free: 5.535 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/4.245, allocations: 7.923 MB / 2.533 GB, free: 13.66 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/4.246, allocations: 121.7 kB / 2.533 GB, free: 13.54 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.004239/4.25, allocations: 4.179 MB / 2.537 GB, free: 9.352 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.001595/4.252, allocations: 1.058 MB / 2.538 GB, free: 8.305 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/4.254, allocations: 1.014 MB / 2.539 GB, free: 7.281 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 0.0001149/4.254, allocations: 309.1 kB / 2.539 GB, free: 6.977 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004819/4.259, allocations: 2.107 MB / 2.541 GB, free: 4.848 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006226/4.265, allocations: 3.875 MB / 2.545 GB, free: 208 kB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/4.275, allocations: 5.647 MB / 2.551 GB, free: 9.949 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.83e-05/4.275, allocations: 12 kB / 2.551 GB, free: 9.938 MB / 1.576 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01601/4.291, allocations: 6.878 MB / 2.557 GB, free: 3.043 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/4.291, allocations: 24 kB / 2.557 GB, free: 3.02 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.817e-05/4.291, allocations: 55.86 kB / 2.557 GB, free: 2.965 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/4.296, allocations: 0.9851 MB / 2.558 GB, free: 1.977 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005036/4.301, allocations: 1.069 MB / 2.559 GB, free: 0.9062 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/4.305, allocations: 3.276 MB / 2.563 GB, free: 13.54 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007328/4.312, allocations: 0.7213 MB / 2.563 GB, free: 12.81 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/4.313, allocations: 251.9 kB / 2.564 GB, free: 12.57 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008573/4.322, allocations: 3.939 MB / 2.567 GB, free: 8.617 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006398/4.329, allocations: 3.765 MB / 2.571 GB, free: 4.09 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009882/4.338, allocations: 5.439 MB / 2.576 GB, free: 14.04 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.684e-05/4.339, allocations: 12 kB / 2.576 GB, free: 14.03 MB / 1.607 GB Notification: Performance of matching and sorting (n=596) (initialization_lambda0): time 0.01533/4.354, allocations: 6.639 MB / 2.583 GB, free: 7.383 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/4.354, allocations: 24 kB / 2.583 GB, free: 7.359 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.307e-05/4.354, allocations: 44 kB / 2.583 GB, free: 7.316 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/4.358, allocations: 0.8439 MB / 2.584 GB, free: 6.469 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/4.363, allocations: 1.033 MB / 2.585 GB, free: 5.434 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/4.365, allocations: 1.937 MB / 2.587 GB, free: 3.445 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007056/4.372, allocations: 0.5667 MB / 2.587 GB, free: 2.879 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008139/4.373, allocations: 239.9 kB / 2.587 GB, free: 2.645 MB / 1.607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.buiHea.loa.nextTimeEvent,$whenCondition5,QAveHeaReq_flow.mode,$PRE.QAveHeaReq_flow.mode,$whenCondition6,QAveHeaAct_flow.mode,$PRE.QAveHeaAct_flow.mode,$whenCondition7,$PRE.buiCoo.loa.nextTimeEvent,$whenCondition1,QAveCooReq_flow.mode,$PRE.QAveCooReq_flow.mode,$whenCondition2,QAveCooAct_flow.mode,$PRE.QAveCooAct_flow.mode,$whenCondition3,buiCoo.terUniCoo.con1.y,buiHea.terUniHea.con1.y,EHeaAct.local_reset,EHeaReq.local_reset,ECooAct.local_reset,ECooReq.local_reset,buiHea.terUniHea.hex.flowRegime_nominal,buiHea.terUniHea.greThr.greHys.y,$PRE.buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.hex.flowRegime,buiHea.loa.nextTimeEventScaled,$PRE.buiHea.loa.nextTimeEventScaled,buiHea.loa.nextTimeEvent,$whenCondition8,buiCoo.terUniCoo.hex.flowRegime_nominal,buiCoo.terUniCoo.greThr.greHys.y,$PRE.buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.hex.flowRegime,buiCoo.loa.nextTimeEventScaled,$PRE.buiCoo.loa.nextTimeEventScaled,buiCoo.loa.nextTimeEvent,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 540 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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 {(1,22), (1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001736/4.375, allocations: 0.5104 MB / 2.588 GB, free: 2.129 MB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002965/4.378, allocations: 0.7985 MB / 2.589 GB, free: 1.32 MB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/4.391, allocations: 5.389 MB / 2.594 GB, free: 11.96 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0092/4.4, allocations: 4.575 MB / 2.598 GB, free: 7.215 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/4.4, allocations: 0 / 2.598 GB, free: 7.215 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004156/4.404, allocations: 1.579 MB / 2.6 GB, free: 5.605 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001992/4.406, allocations: 72 kB / 2.6 GB, free: 5.535 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005153/4.411, allocations: 280.7 kB / 2.6 GB, free: 5.262 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/4.412, allocations: 234.2 kB / 2.601 GB, free: 5.035 MB / 1.623 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01476/4.427, allocations: 5.609 MB / 2.606 GB, free: 15.47 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01632/4.443, allocations: 7.868 MB / 2.614 GB, free: 7.543 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00458/4.448, allocations: 2.066 MB / 2.616 GB, free: 5.473 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.01033/4.458, allocations: 5.344 MB / 2.621 GB, free: 176 kB / 1.639 GB Notification: Performance of Backend: time 6.01e-07/4.458, allocations: 0 / 2.621 GB, free: 176 kB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.02421/4.482, allocations: 9.135 MB / 2.63 GB, free: 7.512 MB / 1.654 GB Notification: Performance of SimCode: time 0.03777/4.52, allocations: 18.58 MB / 2.648 GB, free: 5.09 MB / 1.67 GB Notification: Performance of Templates: time 0.6126/5.133, allocations: 197.1 MB / 2.841 GB, free: 0.9462 GB / 1.701 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.pipe 2>&1)