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.001588/0.001588, allocations: 104.7 kB / 16.36 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.001846/0.001846, allocations: 192 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.384/1.384, 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.879/1.879, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001506/0.001506, allocations: 68.23 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.199, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.5112/0.7102, allocations: 181.3 MB / 0.9619 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.7266, allocations: 13.16 MB / 0.9747 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.7278, allocations: 31.81 kB / 0.9747 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.7293, allocations: 0.5085 MB / 0.9752 GB, free: 6.941 MB / 0.7637 GB [/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.005398/0.7347, allocations: 2.292 MB / 0.9775 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.7372, allocations: 1.075 MB / 0.9785 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002811/0.74, allocations: 2.428 MB / 0.9809 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009843/0.741, allocations: 0.8031 MB / 0.9817 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.7426, allocations: 0.885 MB / 0.9825 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.7435, allocations: 0.7249 MB / 0.9832 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.7437, allocations: 100 kB / 0.9833 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.7477, allocations: 2.34 MB / 0.9856 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.7481, allocations: 354.8 kB / 0.986 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006271/0.7487, allocations: 0.6218 MB / 0.9866 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.7527, allocations: 2.711 MB / 0.9892 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7527, allocations: 4 kB / 0.9892 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7528, allocations: 0 / 0.9892 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.7528, allocations: 0 / 0.9892 GB, free: 8.598 MB / 0.7794 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.002769/0.7556, allocations: 1.781 MB / 0.991 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7556, allocations: 12.03 kB / 0.991 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008911/0.7565, allocations: 214.2 kB / 0.9912 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.7581, allocations: 1.105 MB / 0.9923 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.7582, allocations: 57.19 kB / 0.9923 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.7583, allocations: 63.98 kB / 0.9924 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.7595, allocations: 0.7519 MB / 0.9931 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.7596, allocations: 0 / 0.9931 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.7596, allocations: 24 kB / 0.9931 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.7596, allocations: 27.03 kB / 0.9932 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.761, allocations: 0.739 MB / 0.9939 GB, free: 3.688 MB / 0.7794 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.003751/0.7648, allocations: 3.062 MB / 0.9969 GB, free: 496 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.7662, allocations: 0.7579 MB / 0.9976 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.7668, allocations: 334.8 kB / 0.9979 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003701/0.7705, allocations: 3.612 MB / 1.001 GB, free: 11.22 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007181/0.7712, allocations: 381.2 kB / 1.002 GB, free: 10.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 3.616e-06/0.7713, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=52): time 0.004976/0.7762, allocations: 1.444 MB / 1.003 GB, free: 9.363 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.7763, allocations: 81.55 kB / 1.003 GB, free: 9.266 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.7777, allocations: 1.167 MB / 1.004 GB, free: 8.082 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.7778, allocations: 41.7 kB / 1.004 GB, free: 8.035 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.7782, allocations: 0.4888 MB / 1.005 GB, free: 7.543 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.7783, allocations: 177.5 kB / 1.005 GB, free: 7.367 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.7786, allocations: 158 kB / 1.005 GB, free: 7.203 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7787, allocations: 330 kB / 1.006 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.7793, allocations: 319.3 kB / 1.006 GB, free: 6.562 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008137/0.7801, allocations: 0.5835 MB / 1.006 GB, free: 5.926 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.7814, allocations: 0.7112 MB / 1.007 GB, free: 5.18 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7814, allocations: 3.938 kB / 1.007 GB, free: 5.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00196/0.7833, allocations: 0.9874 MB / 1.008 GB, free: 4.172 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7834, allocations: 8 kB / 1.008 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7834, allocations: 0 / 1.008 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392/2.176, allocations: 146.1 MB / 1.151 GB, free: 311.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/2.176, allocations: 133.6 kB / 1.151 GB, free: 311.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/2.178, allocations: 1.272 MB / 1.152 GB, free: 310.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/2.179, allocations: 74.09 kB / 1.152 GB, free: 310.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/2.179, allocations: 29.94 kB / 1.152 GB, free: 310.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/2.18, allocations: 0.5437 MB / 1.153 GB, free: 310.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009738/2.181, allocations: 0.5857 MB / 1.153 GB, free: 310.6 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001381/2.182, allocations: 0.7055 MB / 1.154 GB, free: 310.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.229e-06/2.182, allocations: 1.531 kB / 1.154 GB, free: 310.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002315/2.185, allocations: 0.9893 MB / 1.155 GB, free: 310.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/2.185, allocations: 10.73 kB / 1.155 GB, free: 310.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/2.185, allocations: 2.625 kB / 1.155 GB, free: 310.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066/3.251, allocations: 146.1 MB / 1.298 GB, free: 189.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/3.252, allocations: 130.8 kB / 1.298 GB, free: 189.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/3.253, allocations: 1.282 MB / 1.299 GB, free: 188.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/3.254, allocations: 70.59 kB / 1.299 GB, free: 188.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/3.254, allocations: 33.08 kB / 1.299 GB, free: 188.3 MB / 0.92 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.0002909/3.254, allocations: 227.4 kB / 1.299 GB, free: 188.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/3.255, allocations: 108.4 kB / 1.3 GB, free: 188.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/3.257, allocations: 0.937 MB / 1.301 GB, free: 187.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/3.258, allocations: 0.9798 MB / 1.301 GB, free: 186.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/3.258, allocations: 4 kB / 1.301 GB, free: 186.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/3.259, allocations: 269.2 kB / 1.302 GB, free: 186.4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/3.259, allocations: 14.66 kB / 1.302 GB, free: 186.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/3.259, allocations: 34.2 kB / 1.302 GB, free: 186.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/3.259, allocations: 33.33 kB / 1.302 GB, free: 186.3 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002517/3.262, allocations: 1.014 MB / 1.303 GB, free: 185.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001903/3.264, allocations: 1.357 MB / 1.304 GB, free: 184.2 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005245/3.264, allocations: 336.3 kB / 1.304 GB, free: 183.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009746/3.265, allocations: 0.8167 MB / 1.305 GB, free: 183 MB / 0.92 GB Notification: Performance of Backend: time 4.11e-07/3.265, allocations: 0 / 1.305 GB, free: 183 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005154/3.271, allocations: 1.986 MB / 1.307 GB, free: 181.5 MB / 0.92 GB Notification: Performance of SimCode: time 0.003862/3.274, allocations: 2.613 MB / 1.31 GB, free: 178.9 MB / 0.92 GB Notification: Performance of Templates: time 0.0432/3.318, allocations: 31.63 MB / 1.341 GB, free: 147.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (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)