Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat") translateModel(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008625/0.0008625, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006785/0.006785, allocations: 170 kB / 16.26 MB, free: 6.613 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005903/0.0005904, allocations: 9.125 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3976, allocations: 162.2 MB / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat): time 1.044/1.442, allocations: 212.8 MB / 1.282 GB, free: 19.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05681/1.499, allocations: 39.21 MB / 1.32 GB, free: 18.76 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01035/1.509, allocations: 197 kB / 1.32 GB, free: 18.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008343/1.517, allocations: 2.092 MB / 1.322 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02215/1.54, allocations: 5.869 MB / 1.328 GB, free: 18.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02111/1.561, allocations: 4.667 MB / 1.333 GB, free: 18.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02778/1.589, allocations: 16.98 MB / 1.349 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008726/1.597, allocations: 3.963 MB / 1.353 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01528/1.613, allocations: 4.95 MB / 1.358 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008828/1.622, allocations: 3.405 MB / 1.361 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002024/1.624, allocations: 174.3 kB / 1.362 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/1.635, allocations: 2.434 MB / 1.364 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002451/1.637, allocations: 0.7962 MB / 1.365 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007421/1.645, allocations: 2.458 MB / 1.367 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01714/1.662, allocations: 8.223 MB / 1.375 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.662, allocations: 3.344 kB / 1.375 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.374e-06/1.662, allocations: 0 / 1.375 GB, free: 15.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000359/1.662, allocations: 0 / 1.375 GB, free: 15.74 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01329/1.676, allocations: 4.483 MB / 1.379 GB, free: 12.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.676, allocations: 9.469 kB / 1.38 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006695/1.683, allocations: 1.234 MB / 1.381 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.694, allocations: 4.213 MB / 1.385 GB, free: 8.891 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001479/1.695, allocations: 0.5013 MB / 1.385 GB, free: 8.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/1.697, allocations: 332.7 kB / 1.386 GB, free: 8.578 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/1.707, allocations: 3.959 MB / 1.389 GB, free: 6.102 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/1.707, allocations: 6.375 kB / 1.39 GB, free: 6.098 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006401/1.707, allocations: 140.7 kB / 1.39 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/1.708, allocations: 83.44 kB / 1.39 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009506/1.717, allocations: 3.399 MB / 1.393 GB, free: 4.32 MB / 1.014 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.03411/1.751, allocations: 21.06 MB / 1.414 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006658/1.758, allocations: 2.097 MB / 1.416 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/1.761, allocations: 1.019 MB / 1.417 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/1.763, allocations: 3.214 MB / 1.42 GB, free: 9.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003302/1.767, allocations: 1.197 MB / 1.421 GB, free: 8.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=158): time 5.57e-06/1.767, allocations: 0 / 1.421 GB, free: 8.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=158): time 0.009728/1.777, allocations: 3.102 MB / 1.424 GB, free: 5.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/1.777, allocations: 201.2 kB / 1.424 GB, free: 5.078 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.788, allocations: 3.965 MB / 1.428 GB, free: 1.113 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005642/1.788, allocations: 61.7 kB / 1.428 GB, free: 1.047 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00304/1.791, allocations: 2.086 MB / 1.43 GB, free: 15.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.792, allocations: 0.5493 MB / 1.431 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005372/1.793, allocations: 165.8 kB / 1.431 GB, free: 14.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.793, allocations: 309.1 kB / 1.431 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/1.796, allocations: 0.9997 MB / 1.432 GB, free: 13.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/1.8, allocations: 1.802 MB / 1.434 GB, free: 10.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006448/1.806, allocations: 2.67 MB / 1.436 GB, free: 7.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.168e-05/1.806, allocations: 4 kB / 1.436 GB, free: 7.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.009975/1.816, allocations: 3.163 MB / 1.44 GB, free: 4.715 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006877/1.817, allocations: 0.7231 MB / 1.44 GB, free: 3.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.617e-05/1.817, allocations: 24 kB / 1.44 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.537e-05/1.817, allocations: 36 kB / 1.44 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/1.82, allocations: 0.6242 MB / 1.441 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.867e-05/1.82, allocations: 43.86 kB / 1.441 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005337/1.825, allocations: 0.6488 MB / 1.442 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004965/1.826, allocations: 120 kB / 1.442 GB, free: 2.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.826, allocations: 6.031 kB / 1.442 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007529/1.834, allocations: 2.683 MB / 1.444 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.074e-05/1.834, allocations: 20 kB / 1.444 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/1.834, allocations: 40.14 kB / 1.444 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/1.836, allocations: 0.6085 MB / 1.445 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.976e-05/1.836, allocations: 51.78 kB / 1.445 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004977/1.841, allocations: 0.5692 MB / 1.446 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/1.842, allocations: 123.9 kB / 1.446 GB, free: 14.11 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.sch.nextTimeEvent,$whenCondition1,theMixValNoEle.conPID.con1.y,theMixVal.conPID.con1.y,sch.nextTimeEventScaled,$PRE.sch.nextTimeEventScaled,sch.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002863/1.845, allocations: 0.9171 MB / 1.447 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/1.846, allocations: 434.7 kB / 1.447 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009418/1.856, allocations: 3.52 MB / 1.45 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/1.856, allocations: 31.92 kB / 1.451 GB, free: 9.254 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.856, allocations: 0 / 1.451 GB, free: 9.254 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005464/1.861, allocations: 2.438 MB / 1.453 GB, free: 6.734 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.88, allocations: 6.703 MB / 1.459 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.88, allocations: 4 kB / 1.459 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.882, allocations: 415.5 kB / 1.46 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-05/1.882, allocations: 8 kB / 1.46 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.882, allocations: 63.97 kB / 1.46 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/1.882, allocations: 11.98 kB / 1.46 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.882, allocations: 7.938 kB / 1.46 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.893, allocations: 4.34 MB / 1.464 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003464/1.897, allocations: 0.9398 MB / 1.465 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/1.898, allocations: 36 kB / 1.465 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004718/1.903, allocations: 374.6 kB / 1.465 GB, free: 9.734 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/1.903, allocations: 121.8 kB / 1.466 GB, free: 9.613 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003971/1.904, allocations: 87.92 kB / 1.466 GB, free: 9.527 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007981/1.912, allocations: 2.74 MB / 1.468 GB, free: 6.797 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.11e-07/1.912, allocations: 0 / 1.468 GB, free: 6.797 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0115/1.923, allocations: 2.074 MB / 1.47 GB, free: 4.719 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 12 (theMixVal.conPID.I.y,theMixVal.jun.vol.dynBal.U,theMixVal.eneMetReq.EInt,theMixVal.eneMetAct.EInt,gen.senTemHot.T,gen.senTemHexOut.T,genNoEle.senTemHot.T,genNoEle.senTemHexOut.T,theMixValNoEle.conPID.I.y,theMixValNoEle.jun.vol.dynBal.U,theMixValNoEle.eneMetReq.EInt,theMixValNoEle.eneMetAct.EInt) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sch.nextTimeEvent,sch.nextTimeEventScaled) * Number of discrete states: 2 (sch.nextTimeEvent,sch.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003978/1.927, allocations: 1.382 MB / 1.472 GB, free: 3.629 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.939, allocations: 3.923 MB / 1.476 GB, free: 15.72 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.939, allocations: 2.5 kB / 1.476 GB, free: 15.72 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.942, allocations: 1.211 MB / 1.477 GB, free: 14.51 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01718/1.959, allocations: 2.099 MB / 1.479 GB, free: 12.45 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.981, allocations: 9.458 MB / 1.488 GB, free: 2.953 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003738/1.985, allocations: 2.293 MB / 1.49 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.007094/1.992, allocations: 1.044 MB / 1.491 GB, free: 15.68 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/1.993, allocations: 347.2 kB / 1.492 GB, free: 15.34 MB / 1.123 GB Notification: Performance of SimCode: time 1.663e-06/1.993, allocations: 0 / 1.492 GB, free: 15.34 MB / 1.123 GB Notification: Performance of Templates: time 0.1582/2.151, allocations: 82.52 MB / 1.572 GB, free: 13.79 MB / 1.201 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.sim & ./Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe 2>&1)