Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 109.1 kB / 16.42 MB, free: 6.488 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.001898/0.001898, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8336, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06622/0.8999, allocations: 61.21 MB / 1.148 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.9197, allocations: 11.99 MB / 1.16 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.9224, allocations: 60.44 kB / 1.16 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.9247, allocations: 0.6975 MB / 1.161 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006764/0.9316, allocations: 2.065 MB / 1.163 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.9358, allocations: 1.21 MB / 1.164 GB, free: 14.63 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005713/0.9415, allocations: 3.088 MB / 1.167 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.9436, allocations: 1.101 MB / 1.168 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.9473, allocations: 1.363 MB / 1.169 GB, free: 11.9 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.9493, allocations: 0.8951 MB / 1.17 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004049/0.9497, allocations: 115.4 kB / 1.17 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003858/0.9536, allocations: 1.48 MB / 1.172 GB, free: 10.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.9541, allocations: 291.3 kB / 1.172 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.9555, allocations: 0.697 MB / 1.173 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.9597, allocations: 2.322 MB / 1.175 GB, free: 9.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9597, allocations: 0 / 1.175 GB, free: 9.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9598, allocations: 1.031 kB / 1.175 GB, free: 9.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.9598, allocations: 0 / 1.175 GB, free: 9.105 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003214/0.963, allocations: 1.732 MB / 1.177 GB, free: 7.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9631, allocations: 8.781 kB / 1.177 GB, free: 7.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.9648, allocations: 344.7 kB / 1.177 GB, free: 7.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.9671, allocations: 1.164 MB / 1.178 GB, free: 6.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.9672, allocations: 68.72 kB / 1.178 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.9673, allocations: 78 kB / 1.178 GB, free: 6.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.9692, allocations: 0.9717 MB / 1.179 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.9693, allocations: 4.75 kB / 1.179 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-05/0.9694, allocations: 32.53 kB / 1.179 GB, free: 5.941 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.9694, allocations: 23.25 kB / 1.179 GB, free: 5.938 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.9715, allocations: 0.8009 MB / 1.18 GB, free: 5.539 MB / 0.92 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.007219/0.9787, allocations: 5.149 MB / 1.185 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9802, allocations: 0.5625 MB / 1.186 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.9809, allocations: 271.3 kB / 1.186 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.9824, allocations: 1.367 MB / 1.187 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.9825, allocations: 45.02 kB / 1.187 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 3.537e-06/0.9825, allocations: 4 kB / 1.187 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.005715/0.9882, allocations: 1.48 MB / 1.189 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.9883, allocations: 59.81 kB / 1.189 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.99, allocations: 1.075 MB / 1.19 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.354e-05/0.9901, allocations: 38.11 kB / 1.19 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.9905, allocations: 0.5331 MB / 1.191 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.9907, allocations: 149.2 kB / 1.191 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.9909, allocations: 134.8 kB / 1.191 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.991, allocations: 327.4 kB / 1.191 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/0.9918, allocations: 280.7 kB / 1.191 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.9928, allocations: 0.4949 MB / 1.192 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.9942, allocations: 0.6465 MB / 1.193 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.9942, allocations: 5.406 kB / 1.193 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002534/0.9968, allocations: 0.9616 MB / 1.193 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9968, allocations: 6.438 kB / 1.193 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.9968, allocations: 9.266 kB / 1.193 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.9981, allocations: 312.9 kB / 1.194 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.9986, allocations: 124.2 kB / 1.194 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/1, allocations: 0.898 MB / 1.195 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.001, allocations: 143.1 kB / 1.195 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/1.002, allocations: 26.69 kB / 1.195 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00122/1.003, allocations: 495 kB / 1.195 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009319/1.004, allocations: 0.4917 MB / 1.196 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001417/1.005, allocations: 0.6407 MB / 1.197 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.025e-05/1.005, allocations: 2.75 kB / 1.197 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002998/1.008, allocations: 0.9464 MB / 1.197 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.008, allocations: 6.594 kB / 1.197 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.008, allocations: 4.469 kB / 1.197 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/1.01, allocations: 312.6 kB / 1.198 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/1.01, allocations: 119.4 kB / 1.198 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/1.012, allocations: 0.8958 MB / 1.199 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.013, allocations: 124.3 kB / 1.199 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.013, allocations: 30.98 kB / 1.199 GB, free: 7.281 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003536/1.013, allocations: 223.8 kB / 1.199 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/1.014, allocations: 112.5 kB / 1.199 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/1.016, allocations: 0.8965 MB / 1.2 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.016, allocations: 0 / 1.2 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.016, allocations: 0 / 1.2 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/1.017, allocations: 261.4 kB / 1.2 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/1.017, allocations: 10.34 kB / 1.2 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/1.018, allocations: 63.02 kB / 1.2 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/1.018, allocations: 38.23 kB / 1.2 GB, free: 6.195 MB / 0.9356 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00263/1.021, allocations: 0.7244 MB / 1.201 GB, free: 5.809 MB / 0.9356 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL could not be translated