Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.138/2.138, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 178.3 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001354, allocations: 107.7 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 55.59 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2306, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1451/0.3757, allocations: 178.9 MB / 1.393 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.392, allocations: 13.5 MB / 1.406 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.3934, allocations: 27.81 kB / 1.406 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.3948, allocations: 437.6 kB / 1.406 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.4001, allocations: 2.026 MB / 1.408 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.4027, allocations: 0.9819 MB / 1.409 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.406, allocations: 3.015 MB / 1.412 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.4071, allocations: 0.6972 MB / 1.413 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.4086, allocations: 0.7661 MB / 1.414 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4101, allocations: 0.7193 MB / 1.414 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.4104, allocations: 52 kB / 1.414 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.4147, allocations: 2.273 MB / 1.417 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.4151, allocations: 294.8 kB / 1.417 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0009054/0.416, allocations: 0.5826 MB / 1.418 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004603/0.4207, allocations: 2.684 MB / 1.42 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4207, allocations: 0 / 1.42 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.001e-06/0.4207, allocations: 0 / 1.42 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.418e-05/0.4207, allocations: 0 / 1.42 GB, free: 5.543 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003423/0.4242, allocations: 1.798 MB / 1.422 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4242, allocations: 11.98 kB / 1.422 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.4253, allocations: 218.3 kB / 1.422 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.4274, allocations: 1.121 MB / 1.423 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.4274, allocations: 53.25 kB / 1.423 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.4276, allocations: 60 kB / 1.423 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.429, allocations: 0.7597 MB / 1.424 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.4291, allocations: 3.938 kB / 1.424 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.4292, allocations: 31.94 kB / 1.424 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.4292, allocations: 16 kB / 1.424 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.4307, allocations: 0.7429 MB / 1.425 GB, free: 0.5859 MB / 0.9167 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.4682/0.8989, allocations: 3.075 MB / 1.428 GB, free: 205 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.9007, allocations: 0.7553 MB / 1.429 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/0.9014, allocations: 333.5 kB / 1.429 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004159/0.9056, allocations: 3.592 MB / 1.432 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/0.9064, allocations: 390.2 kB / 1.433 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=52): time 4.188e-06/0.9064, allocations: 0 / 1.433 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=52): time 0.005361/0.9118, allocations: 1.444 MB / 1.434 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.9119, allocations: 83.5 kB / 1.434 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.9139, allocations: 1.156 MB / 1.435 GB, free: 200.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/0.914, allocations: 44.53 kB / 1.435 GB, free: 200.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.9144, allocations: 499.9 kB / 1.436 GB, free: 199.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.9146, allocations: 182.5 kB / 1.436 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.9149, allocations: 155.8 kB / 1.436 GB, free: 199.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.915, allocations: 327.3 kB / 1.437 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.9156, allocations: 318.1 kB / 1.437 GB, free: 199.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.9165, allocations: 0.5913 MB / 1.437 GB, free: 198.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.9178, allocations: 0.7106 MB / 1.438 GB, free: 198.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.9178, allocations: 0 / 1.438 GB, free: 198.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002287/0.9201, allocations: 0.9962 MB / 1.439 GB, free: 198 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.9202, allocations: 7.688 kB / 1.439 GB, free: 198 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.9202, allocations: 1.969 kB / 1.439 GB, free: 198 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078/1.998, allocations: 146.1 MB / 1.582 GB, free: 63.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/1.999, allocations: 127.8 kB / 1.582 GB, free: 63.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/2, allocations: 1.273 MB / 1.583 GB, free: 61.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009702/2.001, allocations: 97.75 kB / 1.583 GB, free: 61.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.361e-05/2.001, allocations: 31.98 kB / 1.583 GB, free: 61.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009262/2.002, allocations: 0.5381 MB / 1.584 GB, free: 61.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007069/2.002, allocations: 0.5912 MB / 1.584 GB, free: 60.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001055/2.003, allocations: 0.7034 MB / 1.585 GB, free: 59.92 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/2.003, allocations: 5.203 kB / 1.585 GB, free: 59.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001885/2.005, allocations: 0.9874 MB / 1.586 GB, free: 58.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/2.005, allocations: 8 kB / 1.586 GB, free: 58.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/2.005, allocations: 5.828 kB / 1.586 GB, free: 58.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036/3.041, allocations: 146.1 MB / 1.729 GB, free: 8.551 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/3.042, allocations: 127.8 kB / 1.729 GB, free: 8.426 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/3.043, allocations: 1.27 MB / 1.73 GB, free: 7.105 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/3.044, allocations: 91.53 kB / 1.73 GB, free: 7.016 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/3.044, allocations: 36.48 kB / 1.73 GB, free: 6.98 MB / 1.01 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.0003119/3.045, allocations: 225.3 kB / 1.731 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/3.045, allocations: 110.6 kB / 1.731 GB, free: 6.648 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/3.047, allocations: 0.9416 MB / 1.732 GB, free: 5.703 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/3.047, allocations: 12.56 kB / 1.732 GB, free: 5.691 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/3.047, allocations: 0 / 1.732 GB, free: 5.691 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/3.049, allocations: 0.9734 MB / 1.732 GB, free: 4.645 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/3.054, allocations: 2.079 MB / 1.735 GB, free: 2.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/3.054, allocations: 0.5625 kB / 1.735 GB, free: 2.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/3.054, allocations: 83.89 kB / 1.735 GB, free: 2.438 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5463/3.6, allocations: 73.13 MB / 1.806 GB, free: 9.191 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/3.601, allocations: 19.94 kB / 1.806 GB, free: 9.176 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/3.602, allocations: 0.725 MB / 1.807 GB, free: 8.426 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/3.602, allocations: 0 / 1.807 GB, free: 8.426 MB / 1.089 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.858/6.459, allocations: 342.2 MB / 2.141 GB, free: 128.7 MB / 1.12 GB Error: post-optimization module symbolicJacobian (simulation) failed.