Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009924/0.0009924, allocations: 97.64 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.007089/0.007089, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.353/1.353, allocations: 205.4 MB / 222.4 MB, free: 5.773 MB / 174.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.734/1.734, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.000499/0.0004991, allocations: 14.31 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.234, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6814/0.9155, allocations: 176.5 MB / 0.9603 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.9361, allocations: 13.14 MB / 0.9731 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.939, allocations: 27.22 kB / 0.9731 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.9415, allocations: 440.5 kB / 0.9735 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008551/0.9501, allocations: 2.013 MB / 0.9755 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.9543, allocations: 0.9747 MB / 0.9765 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005906/0.9602, allocations: 2.972 MB / 0.9794 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.9633, allocations: 0.6658 MB / 0.98 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.9663, allocations: 0.7365 MB / 0.9807 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.9685, allocations: 0.6815 MB / 0.9814 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004243/0.9689, allocations: 36.16 kB / 0.9814 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.9753, allocations: 2.27 MB / 0.9836 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000685/0.9761, allocations: 287.5 kB / 0.9839 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.9777, allocations: 0.5754 MB / 0.9845 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007591/0.9853, allocations: 2.634 MB / 0.987 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9853, allocations: 0 / 0.987 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.015e-06/0.9853, allocations: 0 / 0.987 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.805e-05/0.9854, allocations: 0 / 0.987 GB, free: 4.5 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003705/0.9891, allocations: 1.557 MB / 0.9886 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.9891, allocations: 15.72 kB / 0.9886 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.9903, allocations: 229 kB / 0.9888 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.9927, allocations: 1.114 MB / 0.9899 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.9928, allocations: 44.97 kB / 0.9899 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.9929, allocations: 62.25 kB / 0.99 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.9944, allocations: 0.7641 MB / 0.9907 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.9944, allocations: 0 / 0.9907 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.9945, allocations: 23.78 kB / 0.9908 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.9945, allocations: 20.47 kB / 0.9908 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.9959, allocations: 0.742 MB / 0.9915 GB, free: 2.305 MB / 0.7169 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.004408/1, allocations: 3.073 MB / 0.9945 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.002, allocations: 0.7626 MB / 0.9953 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/1.002, allocations: 346.1 kB / 0.9956 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004282/1.007, allocations: 3.606 MB / 0.9991 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007473/1.007, allocations: 387.3 kB / 0.9995 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 2.695e-06/1.007, allocations: 0 / 0.9995 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.00524/1.013, allocations: 1.511 MB / 1.001 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/1.013, allocations: 90.7 kB / 1.001 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/1.015, allocations: 1.158 MB / 1.002 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/1.015, allocations: 38.3 kB / 1.002 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/1.015, allocations: 493.2 kB / 1.003 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/1.016, allocations: 189.3 kB / 1.003 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.016, allocations: 59.28 kB / 1.003 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.016, allocations: 331.8 kB / 1.003 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/1.017, allocations: 312.4 kB / 1.004 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/1.017, allocations: 0.5971 MB / 1.004 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.019, allocations: 0.7219 MB / 1.005 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.019, allocations: 0 / 1.005 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002262/1.021, allocations: 1.01 MB / 1.006 GB, free: 8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.021, allocations: 160.5 kB / 1.006 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.021, allocations: 2.906 kB / 1.006 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19/2.211, allocations: 193.5 MB / 1.195 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/2.212, allocations: 127.8 kB / 1.195 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/2.213, allocations: 1.292 MB / 1.196 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/2.214, allocations: 101.2 kB / 1.196 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/2.215, allocations: 31.98 kB / 1.196 GB, free: 11.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/2.215, allocations: 7.938 kB / 1.196 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002023/2.217, allocations: 0.8801 MB / 1.197 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/2.217, allocations: 0 / 1.197 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627/3.844, allocations: 193.5 MB / 1.386 GB, free: 296.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/3.844, allocations: 127 kB / 1.386 GB, free: 296.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/3.846, allocations: 1.286 MB / 1.388 GB, free: 295.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/3.847, allocations: 91.44 kB / 1.388 GB, free: 295.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/3.847, allocations: 34.67 kB / 1.388 GB, free: 295.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006747/3.848, allocations: 378.7 kB / 1.388 GB, free: 295.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/3.848, allocations: 112.3 kB / 1.388 GB, free: 295.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/3.85, allocations: 0.9525 MB / 1.389 GB, free: 294.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/3.85, allocations: 12.8 kB / 1.389 GB, free: 294.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/3.85, allocations: 0 / 1.389 GB, free: 294.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/3.852, allocations: 0.9911 MB / 1.39 GB, free: 293.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/3.856, allocations: 2.101 MB / 1.392 GB, free: 292.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/3.856, allocations: 0 / 1.392 GB, free: 292.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/3.856, allocations: 87.33 kB / 1.392 GB, free: 292 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5649/4.421, allocations: 96.83 MB / 1.487 GB, free: 195.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/4.422, allocations: 19.11 kB / 1.487 GB, free: 195.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009143/4.422, allocations: 0.7443 MB / 1.488 GB, free: 194.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/4.422, allocations: 0 / 1.488 GB, free: 194.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/4.426, allocations: 1.511 MB / 1.489 GB, free: 192.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/4.427, allocations: 296 kB / 1.489 GB, free: 192.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/4.427, allocations: 12.56 kB / 1.489 GB, free: 192.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/4.428, allocations: 55.92 kB / 1.489 GB, free: 192.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/4.429, allocations: 37.42 kB / 1.489 GB, free: 192.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/4.429, allocations: 23.98 kB / 1.489 GB, free: 192.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001694/4.43, allocations: 0.8166 MB / 1.49 GB, free: 191.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.7e-07/4.43, allocations: 0 / 1.49 GB, free: 191.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003202/4.434, allocations: 0.7056 MB / 1.491 GB, free: 191.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003251/4.437, allocations: 0.9558 MB / 1.492 GB, free: 190.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002591/4.439, allocations: 1.196 MB / 1.493 GB, free: 189.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/4.439, allocations: 0 / 1.493 GB, free: 189.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000669/4.44, allocations: 375.8 kB / 1.493 GB, free: 188.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/4.443, allocations: 483.8 kB / 1.494 GB, free: 188.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/4.447, allocations: 2.385 MB / 1.496 GB, free: 186 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/4.447, allocations: 1.096 MB / 1.497 GB, free: 184.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001102/4.449, allocations: 255.3 kB / 1.498 GB, free: 184.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/4.449, allocations: 99.41 kB / 1.498 GB, free: 184.6 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/4.449, allocations: 0 / 1.498 GB, free: 184.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.0409/4.49, allocations: 26.41 MB / 1.523 GB, free: 158.5 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) Environment - environmentSimulation: