Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.0009859/0.000986, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.397/1.397, allocations: 205.3 MB / 0.626 GB, free: 7.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000805/0.000805, allocations: 87.28 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.244e-05/1.248e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6173/0.6174, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.092/6.71, allocations: 2.488 GB / 3.461 GB, free: 321.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/6.71, allocations: 98.39 kB / 3.461 GB, free: 321.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.27/25.98, allocations: 4.865 GB / 8.326 GB, free: 64.59 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.765e-06/25.98, allocations: 3.734 kB / 8.326 GB, free: 64.59 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002353/25.98, allocations: 244.4 kB / 8.326 GB, free: 64.55 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1459 * Number of variables: 1459 Notification: Performance of Generate backend data structure: time 0.03283/26.02, allocations: 8.778 MB / 8.335 GB, free: 60.73 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/26.02, allocations: 9.938 kB / 8.335 GB, free: 60.73 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/26.03, allocations: 2.24 MB / 8.337 GB, free: 60.19 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03683/26.07, allocations: 12.66 MB / 8.349 GB, free: 58.86 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002068/26.07, allocations: 0.606 MB / 8.35 GB, free: 58.73 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00301/26.08, allocations: 380.3 kB / 8.35 GB, free: 58.73 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01886/26.09, allocations: 5.003 MB / 8.355 GB, free: 58.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/26.12, allocations: 5.982 MB / 8.361 GB, free: 57.92 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003932/26.12, allocations: 14.22 kB / 8.361 GB, free: 57.92 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/26.12, allocations: 9.531 kB / 8.361 GB, free: 57.92 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/26.12, allocations: 216.1 kB / 8.361 GB, free: 57.91 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.07098/26.19, allocations: 35.06 MB / 8.396 GB, free: 43.68 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008858/26.2, allocations: 3.73 MB / 8.399 GB, free: 43.43 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/26.21, allocations: 1.775 MB / 8.401 GB, free: 43.41 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02531/26.23, allocations: 10.86 MB / 8.412 GB, free: 39.54 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00453/26.24, allocations: 2.019 MB / 8.414 GB, free: 39.39 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006749/26.24, allocations: 431 kB / 8.414 GB, free: 39.24 MB / 1.198 GB Notification: Performance of pre-optimization done (n=321): time 1.349e-05/26.24, allocations: 0 / 8.414 GB, free: 39.24 MB / 1.198 GB Notification: Performance of matching and sorting (n=321): time 0.01634/26.26, allocations: 4.373 MB / 8.418 GB, free: 38.71 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/26.26, allocations: 269.4 kB / 8.418 GB, free: 38.43 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02184/26.28, allocations: 5.655 MB / 8.424 GB, free: 37.94 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001543/26.28, allocations: 46.92 kB / 8.424 GB, free: 37.91 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00668/26.29, allocations: 4.044 MB / 8.428 GB, free: 36.71 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002109/26.29, allocations: 1.055 MB / 8.429 GB, free: 36.02 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/26.29, allocations: 3.25 kB / 8.429 GB, free: 36.02 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000547/26.29, allocations: 481.9 kB / 8.429 GB, free: 35.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004097/26.3, allocations: 1.623 MB / 8.431 GB, free: 35.69 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005827/26.3, allocations: 3.437 MB / 8.434 GB, free: 33.59 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007469/26.31, allocations: 2.378 MB / 8.437 GB, free: 33.53 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/26.31, allocations: 11.16 kB / 8.437 GB, free: 33.53 MB / 1.198 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01866/26.33, allocations: 5.704 MB / 8.442 GB, free: 33.02 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.007056/26.34, allocations: 21.32 MB / 8.463 GB, free: 27.26 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/26.34, allocations: 40.88 kB / 8.463 GB, free: 27.26 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003051/26.34, allocations: 0.7153 MB / 8.464 GB, free: 27.24 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005328/26.34, allocations: 1.013 MB / 8.465 GB, free: 27.24 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/26.35, allocations: 3.363 MB / 8.468 GB, free: 25 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/26.36, allocations: 0.5367 MB / 8.469 GB, free: 24.98 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/26.36, allocations: 259.2 kB / 8.469 GB, free: 24.98 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/26.36, allocations: 4.156 kB / 8.469 GB, free: 24.98 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01469/26.38, allocations: 4.765 MB / 8.474 GB, free: 24.87 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/26.38, allocations: 44.75 kB / 8.474 GB, free: 24.87 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/26.38, allocations: 0.68 MB / 8.474 GB, free: 24.85 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004833/26.38, allocations: 0.9801 MB / 8.475 GB, free: 24.85 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/26.39, allocations: 2.007 MB / 8.477 GB, free: 23.79 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00976/26.4, allocations: 0.5126 MB / 8.478 GB, free: 23.76 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/26.4, allocations: 252.5 kB / 8.478 GB, free: 23.76 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 182 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition1,$PRE.bui.loa.nextTimeEvent,$whenCondition2,$PRE.QAveHeaReq_flow.mode,QAveHeaReq_flow.mode,$whenCondition3,$PRE.QAveHeaAct_flow.mode,QAveHeaAct_flow.mode,$whenCondition4,$PRE.QAveCooReq_flow.mode,QAveCooReq_flow.mode,$whenCondition5,$PRE.QAveCooAct_flow.mode,QAveCooAct_flow.mode,bui.terUniCoo.con1.y,bui.terUniHea.con1.y,$whenCondition7,$whenCondition6,bui.loa.nextTimeEvent,$PRE.bui.loa.nextTimeEventScaled,bui.loa.nextTimeEventScaled,bui.terUniHea.hex.flowRegime,$PRE.bui.terUniHea.greThr.greHys.y,bui.terUniHea.greThr.greHys.y,bui.terUniCoo.hex.flowRegime,$PRE.bui.terUniCoo.greThr.greHys.y,bui.terUniCoo.greThr.greHys.y,bui.terUniHea.hex.flowRegime_nominal,bui.terUniCoo.hex.flowRegime_nominal,ECooAct.local_reset,ECooReq.local_reset,EHeaAct.local_reset,EHeaReq.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 519 * 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 23,1 23} Notification: Performance of prepare postOptimizeDAE: time 0.002647/26.4, allocations: 273.6 kB / 8.478 GB, free: 23.62 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003306/26.4, allocations: 0.71 MB / 8.479 GB, free: 23.23 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/26.42, allocations: 4.762 MB / 8.484 GB, free: 22.96 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-05/26.42, allocations: 42.27 kB / 8.484 GB, free: 22.96 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/26.42, allocations: 3.25 kB / 8.484 GB, free: 22.96 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008166/26.43, allocations: 3.683 MB / 8.487 GB, free: 22.5 MB / 1.214 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.03552/26.46, allocations: 12.88 MB / 8.5 GB, free: 21.14 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-05/26.46, allocations: 11.12 kB / 8.5 GB, free: 21.14 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/26.47, allocations: 0.66 MB / 8.5 GB, free: 21.14 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002598/26.47, allocations: 0.6969 MB / 8.501 GB, free: 21.12 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00072/26.47, allocations: 59.25 kB / 8.501 GB, free: 21.12 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/26.47, allocations: 3.28 MB / 8.504 GB, free: 18.91 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/26.47, allocations: 17.38 kB / 8.504 GB, free: 18.91 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/26.49, allocations: 8.948 MB / 8.513 GB, free: 31.75 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006356/26.5, allocations: 1.497 MB / 8.515 GB, free: 31.26 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003732/26.5, allocations: 24.91 kB / 8.515 GB, free: 31.26 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008523/26.51, allocations: 0.5231 MB / 8.515 GB, free: 31.24 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008639/26.51, allocations: 252.2 kB / 8.515 GB, free: 31.23 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008583/26.51, allocations: 157.7 kB / 8.516 GB, free: 31.23 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.01258/26.52, allocations: 4.217 MB / 8.52 GB, free: 30.98 MB / 1.229 GB Notification: Performance of sort global known variables: time 2.7e-07/26.52, allocations: 1.859 kB / 8.52 GB, free: 30.98 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.03028/26.55, allocations: 4.575 MB / 8.524 GB, free: 30.29 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 22 (bui.terUniHea.fan.vol.dynBal.U,bui.terUniHea.fan.vol.dynBal.m,bui.terUniHea.fan.vol.dynBal.mXi[1],bui.terUniHea.con.I.y,bui.terUniHea.TLoaODE.TAir,bui.disFloHea.heaCoo.vol.dynBal.U,bui.disFloHea.senTSup.T,bui.disFloCoo.heaCoo.vol.dynBal.U,bui.disFloCoo.senTSup.T,bui.terUniCoo.con.I.y,bui.terUniCoo.fan.vol.dynBal.U,bui.terUniCoo.fan.vol.dynBal.m,bui.terUniCoo.fan.vol.dynBal.mXi[1],bui.terUniCoo.TLoaODE.TAir,EHeaReq.y,EHeaAct.y,ECooReq.y,ECooAct.y,QAveHeaReq_flow.mu,QAveHeaAct_flow.mu,QAveCooReq_flow.mu,QAveCooAct_flow.mu) * Number of discrete variables: 17 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bui.loa.nextTimeEvent,bui.loa.nextTimeEventScaled,bui.terUniHea.hex.flowRegime,bui.terUniHea.greThr.greHys.y,bui.terUniCoo.hex.flowRegime,bui.terUniCoo.greThr.greHys.y,QAveHeaReq_flow.mode,QAveHeaAct_flow.mode,QAveCooReq_flow.mode,QAveCooAct_flow.mode) * Number of discrete states: 4 (bui.loa.nextTimeEvent,bui.loa.nextTimeEventScaled,bui.terUniCoo.greThr.greHys.y,bui.terUniHea.greThr.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 6 * 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 25,1 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02312/26.58, allocations: 13.27 MB / 8.537 GB, free: 22.96 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01678/26.59, allocations: 6.817 MB / 8.544 GB, free: 22.84 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.226e-05/26.59, allocations: 4.688 kB / 8.544 GB, free: 22.83 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.005197/26.6, allocations: 2.127 MB / 8.546 GB, free: 22.81 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01978/26.62, allocations: 3.258 MB / 8.549 GB, free: 22.61 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/26.66, allocations: 12.48 MB / 8.561 GB, free: 18.95 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0106/26.67, allocations: 4.474 MB / 8.566 GB, free: 17.94 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02084/26.69, allocations: 2.395 MB / 8.568 GB, free: 17.56 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/26.69, allocations: 413.1 kB / 8.568 GB, free: 17.55 MB / 1.229 GB Notification: Performance of SimCode: time 2.905e-06/26.69, allocations: 0 / 8.568 GB, free: 17.55 MB / 1.229 GB Notification: Performance of Templates: time 0.3055/27, allocations: 177.9 MB / 8.742 GB, free: 7.695 MB / 1.26 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe 2>&1)