Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat") translateModel(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001121/0.001122, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009936/0.009936, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.586/1.586, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004042, allocations: 14.95 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4074, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat): time 1.034/1.442, allocations: 212.8 MB / 1.282 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06144/1.503, allocations: 39.21 MB / 1.32 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01093/1.514, allocations: 194.4 kB / 1.32 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009221/1.523, allocations: 2.093 MB / 1.322 GB, free: 18.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02321/1.547, allocations: 5.874 MB / 1.328 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01542/1.562, allocations: 4.659 MB / 1.333 GB, free: 18.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02532/1.587, allocations: 16.98 MB / 1.349 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008587/1.596, allocations: 3.949 MB / 1.353 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01515/1.611, allocations: 4.954 MB / 1.358 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008298/1.62, allocations: 3.409 MB / 1.361 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001549/1.621, allocations: 173.1 kB / 1.362 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00988/1.631, allocations: 2.427 MB / 1.364 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002335/1.633, allocations: 0.7967 MB / 1.365 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005715/1.639, allocations: 2.457 MB / 1.367 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/1.654, allocations: 8.23 MB / 1.375 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.654, allocations: 0 / 1.375 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/1.654, allocations: 0 / 1.375 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002536/1.654, allocations: 4 kB / 1.375 GB, free: 15.81 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.01099/1.665, allocations: 4.475 MB / 1.379 GB, free: 12.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.665, allocations: 10.72 kB / 1.379 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/1.671, allocations: 1.234 MB / 1.381 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/1.681, allocations: 4.22 MB / 1.385 GB, free: 8.969 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001486/1.683, allocations: 0.5028 MB / 1.385 GB, free: 8.766 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/1.684, allocations: 332.4 kB / 1.386 GB, free: 8.652 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008541/1.693, allocations: 3.958 MB / 1.389 GB, free: 6.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.06e-05/1.693, allocations: 7 kB / 1.39 GB, free: 6.176 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/1.693, allocations: 136.1 kB / 1.39 GB, free: 6.074 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.694e-05/1.693, allocations: 88.22 kB / 1.39 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008316/1.701, allocations: 3.405 MB / 1.393 GB, free: 4.395 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.0317/1.733, allocations: 21.05 MB / 1.414 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006298/1.74, allocations: 2.093 MB / 1.416 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/1.742, allocations: 1.019 MB / 1.417 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002896/1.745, allocations: 3.213 MB / 1.42 GB, free: 9.762 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002913/1.748, allocations: 1.201 MB / 1.421 GB, free: 8.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=158): time 4.368e-06/1.748, allocations: 0 / 1.421 GB, free: 8.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=158): time 0.009227/1.757, allocations: 3.099 MB / 1.424 GB, free: 5.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/1.757, allocations: 201.2 kB / 1.424 GB, free: 5.191 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008285/1.766, allocations: 3.961 MB / 1.428 GB, free: 1.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004818/1.766, allocations: 61.7 kB / 1.428 GB, free: 1.164 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002395/1.769, allocations: 2.087 MB / 1.43 GB, free: 15.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008685/1.769, allocations: 0.5531 MB / 1.431 GB, free: 14.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/1.77, allocations: 165.8 kB / 1.431 GB, free: 14.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.77, allocations: 301.1 kB / 1.431 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/1.773, allocations: 1.007 MB / 1.432 GB, free: 13.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/1.776, allocations: 1.798 MB / 1.434 GB, free: 10.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/1.781, allocations: 2.67 MB / 1.436 GB, free: 7.977 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.781, allocations: 12 kB / 1.436 GB, free: 7.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.008019/1.789, allocations: 3.164 MB / 1.44 GB, free: 4.789 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000573/1.79, allocations: 0.723 MB / 1.44 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/1.79, allocations: 20 kB / 1.44 GB, free: 3.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.213e-05/1.79, allocations: 32 kB / 1.44 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/1.792, allocations: 0.6241 MB / 1.441 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-05/1.793, allocations: 47.84 kB / 1.441 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/1.798, allocations: 0.6527 MB / 1.442 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/1.798, allocations: 116 kB / 1.442 GB, free: 2.281 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.798, allocations: 5.406 kB / 1.442 GB, free: 2.277 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006653/1.805, allocations: 2.692 MB / 1.444 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/1.805, allocations: 20 kB / 1.444 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.396e-05/1.805, allocations: 32.25 kB / 1.444 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/1.807, allocations: 0.6051 MB / 1.445 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-05/1.807, allocations: 51.8 kB / 1.445 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005646/1.813, allocations: 0.5752 MB / 1.446 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003896/1.813, allocations: 120 kB / 1.446 GB, free: 14.18 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.002687/1.816, allocations: 0.9249 MB / 1.447 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00188/1.818, allocations: 430.7 kB / 1.447 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/1.826, allocations: 3.517 MB / 1.45 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.627e-05/1.826, allocations: 31.92 kB / 1.451 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.826, allocations: 7.938 kB / 1.451 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005034/1.831, allocations: 2.433 MB / 1.453 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/1.846, allocations: 6.696 MB / 1.459 GB, free: 64 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.846, allocations: 4 kB / 1.459 GB, free: 60 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/1.848, allocations: 419.8 kB / 1.46 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/1.848, allocations: 8 kB / 1.46 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.848, allocations: 59.95 kB / 1.46 GB, free: 15.58 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/1.848, allocations: 12 kB / 1.46 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.848, allocations: 3.938 kB / 1.46 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009383/1.858, allocations: 4.339 MB / 1.464 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/1.861, allocations: 0.9397 MB / 1.465 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.862, allocations: 36 kB / 1.465 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003663/1.866, allocations: 373.3 kB / 1.465 GB, free: 9.82 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/1.866, allocations: 121.8 kB / 1.466 GB, free: 9.699 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.866, allocations: 87.94 kB / 1.466 GB, free: 9.613 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005724/1.872, allocations: 2.74 MB / 1.468 GB, free: 6.883 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.81e-07/1.872, allocations: 0 / 1.468 GB, free: 6.883 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.009287/1.881, allocations: 2.074 MB / 1.47 GB, free: 4.805 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.003506/1.885, allocations: 1.397 MB / 1.472 GB, free: 3.699 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.896, allocations: 3.915 MB / 1.476 GB, free: 15.8 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/1.896, allocations: 6.5 kB / 1.476 GB, free: 15.79 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003389/1.899, allocations: 1.215 MB / 1.477 GB, free: 14.58 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0161/1.915, allocations: 2.089 MB / 1.479 GB, free: 12.52 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.934, allocations: 9.466 MB / 1.488 GB, free: 3.023 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/1.937, allocations: 2.289 MB / 1.49 GB, free: 0.707 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006005/1.943, allocations: 1.037 MB / 1.491 GB, free: 15.76 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.944, allocations: 355.2 kB / 1.492 GB, free: 15.41 MB / 1.123 GB Notification: Performance of SimCode: time 9.61e-07/1.944, allocations: 0 / 1.492 GB, free: 15.41 MB / 1.123 GB Notification: Performance of Templates: time 0.1594/2.104, allocations: 82.52 MB / 1.572 GB, free: 13.88 MB / 1.201 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.sim & ./Buildings_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe 2>&1)