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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001329/0.001329, allocations: 192.3 kB / 376.9 MB, free: 1.781 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.506/1.506, allocations: 205 MB / 0.6354 GB, free: 9.793 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.001037/0.001037, allocations: 104.7 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 55.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2595, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6087/0.8683, allocations: 178.8 MB / 1.157 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.8849, allocations: 13.34 MB / 1.17 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.8866, allocations: 28.31 kB / 1.17 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.888, allocations: 441 kB / 1.17 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005667/0.8937, allocations: 2.01 MB / 1.172 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.8964, allocations: 0.9612 MB / 1.173 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00324/0.8996, allocations: 3.002 MB / 1.176 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009636/0.9006, allocations: 0.6867 MB / 1.177 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.9019, allocations: 0.76 MB / 1.178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.9032, allocations: 0.712 MB / 1.178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.9034, allocations: 48.81 kB / 1.178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004484/0.9079, allocations: 2.269 MB / 1.181 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.9082, allocations: 297.3 kB / 1.181 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007217/0.9089, allocations: 0.5663 MB / 1.181 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.914, allocations: 2.68 MB / 1.184 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.914, allocations: 0 / 1.184 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9141, allocations: 0 / 1.184 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.9141, allocations: 0 / 1.184 GB, free: 8.781 MB / 0.7761 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.003644/0.9177, allocations: 1.782 MB / 1.186 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.9178, allocations: 9.594 kB / 1.186 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.9187, allocations: 215.1 kB / 1.186 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.9205, allocations: 1.113 MB / 1.187 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.9206, allocations: 46.81 kB / 1.187 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.9207, allocations: 63.28 kB / 1.187 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.9219, allocations: 0.7472 MB / 1.188 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.922, allocations: 3.938 kB / 1.188 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.922, allocations: 30.03 kB / 1.188 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.9221, allocations: 15.25 kB / 1.188 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.9234, allocations: 0.7422 MB / 1.189 GB, free: 6.195 MB / 0.7761 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.004004/0.9274, allocations: 3.069 MB / 1.192 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.9289, allocations: 0.7581 MB / 1.192 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.9294, allocations: 328.5 kB / 1.193 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004144/0.9336, allocations: 3.595 MB / 1.196 GB, free: 496 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007763/0.9344, allocations: 385.5 kB / 1.197 GB, free: 340 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=52): time 2.595e-06/0.9344, allocations: 3.938 kB / 1.197 GB, free: 336 kB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.00534/0.9398, allocations: 1.442 MB / 1.198 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.9398, allocations: 83.92 kB / 1.198 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.9415, allocations: 1.156 MB / 1.199 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/0.9416, allocations: 43.98 kB / 1.199 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.9421, allocations: 490.3 kB / 1.2 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.9422, allocations: 183.8 kB / 1.2 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.9425, allocations: 148.4 kB / 1.2 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9426, allocations: 334.4 kB / 1.2 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.9433, allocations: 322.7 kB / 1.201 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009052/0.9442, allocations: 0.589 MB / 1.201 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.9456, allocations: 0.7099 MB / 1.202 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.9456, allocations: 5.094 kB / 1.202 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002301/0.9479, allocations: 0.9977 MB / 1.203 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.9479, allocations: 5.594 kB / 1.203 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.948, allocations: 3.266 kB / 1.203 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122/2.07, allocations: 146.1 MB / 1.346 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/2.071, allocations: 131.8 kB / 1.346 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/2.073, allocations: 1.277 MB / 1.347 GB, free: 368 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/2.074, allocations: 96.11 kB / 1.347 GB, free: 272 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/2.074, allocations: 32 kB / 1.347 GB, free: 240 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/2.075, allocations: 0.5403 MB / 1.348 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009581/2.076, allocations: 0.5873 MB / 1.348 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/2.077, allocations: 0.6995 MB / 1.349 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.369e-06/2.078, allocations: 4 kB / 1.349 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002341/2.08, allocations: 0.992 MB / 1.35 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/2.08, allocations: 8 kB / 1.35 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/2.08, allocations: 0 / 1.35 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421/3.501, allocations: 146.1 MB / 1.493 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/3.502, allocations: 125.3 kB / 1.493 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/3.503, allocations: 1.278 MB / 1.494 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/3.504, allocations: 92.34 kB / 1.494 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/3.504, allocations: 32.97 kB / 1.494 GB, free: 250.1 MB / 0.9323 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.0002494/3.504, allocations: 222.2 kB / 1.494 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/3.505, allocations: 106.7 kB / 1.494 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/3.507, allocations: 0.9443 MB / 1.495 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/3.507, allocations: 9.031 kB / 1.495 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/3.507, allocations: 0.5 kB / 1.495 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/3.508, allocations: 0.9745 MB / 1.496 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/3.512, allocations: 2.069 MB / 1.498 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/3.512, allocations: 4.625 kB / 1.498 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/3.513, allocations: 82.89 kB / 1.498 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5088/4.022, allocations: 73.14 MB / 1.57 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/4.022, allocations: 20.64 kB / 1.57 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008346/4.023, allocations: 0.7216 MB / 1.57 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/4.023, allocations: 0 / 1.57 GB, free: 172.9 MB / 0.9323 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 2.686/6.708, allocations: 342.2 MB / 1.905 GB, free: 201.5 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.