Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,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",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,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",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001671, allocations: 120 kB / 16.42 MB, free: 6.496 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.001995/0.001995, allocations: 183.9 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.375/1.375, 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.4/2.4, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.821, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06444/0.8855, allocations: 61.23 MB / 1.148 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02098/0.9065, allocations: 11.99 MB / 1.16 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.9093, allocations: 56.53 kB / 1.16 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.9118, allocations: 0.6974 MB / 1.161 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.9189, allocations: 2.069 MB / 1.163 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003866/0.9227, allocations: 1.212 MB / 1.164 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00511/0.9279, allocations: 3.106 MB / 1.167 GB, free: 13.08 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.9299, allocations: 1.124 MB / 1.168 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.934, allocations: 1.362 MB / 1.17 GB, free: 11.85 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.9366, allocations: 0.9174 MB / 1.17 GB, free: 11.42 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004325/0.9371, allocations: 119.5 kB / 1.171 GB, free: 11.42 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.9414, allocations: 1.452 MB / 1.172 GB, free: 10.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.9419, allocations: 303.5 kB / 1.172 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.9439, allocations: 0.7028 MB / 1.173 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.9494, allocations: 2.321 MB / 1.175 GB, free: 9.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9494, allocations: 1.062 kB / 1.175 GB, free: 9.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9494, allocations: 0 / 1.175 GB, free: 9.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.342e-05/0.9495, allocations: 0 / 1.175 GB, free: 9.035 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004898/0.9544, allocations: 1.747 MB / 1.177 GB, free: 7.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.9544, allocations: 8.469 kB / 1.177 GB, free: 7.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.9572, allocations: 457.8 kB / 1.177 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.9602, allocations: 1.164 MB / 1.178 GB, free: 6.543 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/0.9603, allocations: 60.91 kB / 1.179 GB, free: 6.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.9605, allocations: 83.16 kB / 1.179 GB, free: 6.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.963, allocations: 1.001 MB / 1.18 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.9631, allocations: 3.984 kB / 1.18 GB, free: 5.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.9632, allocations: 35.78 kB / 1.18 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.9632, allocations: 18.91 kB / 1.18 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.9658, allocations: 0.9294 MB / 1.181 GB, free: 5.383 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.007156/0.973, allocations: 4.68 MB / 1.185 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.977, allocations: 0.9862 MB / 1.186 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.9781, allocations: 406.7 kB / 1.186 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.9791, allocations: 1.02 MB / 1.187 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.9792, allocations: 37.62 kB / 1.188 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.816e-06/0.9792, allocations: 4 kB / 1.188 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.007571/0.9868, allocations: 1.907 MB / 1.189 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.9868, allocations: 56.78 kB / 1.189 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.9882, allocations: 0.9515 MB / 1.19 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.9883, allocations: 37.02 kB / 1.19 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.9887, allocations: 0.5153 MB / 1.191 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.9888, allocations: 184.2 kB / 1.191 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.9891, allocations: 125.1 kB / 1.191 GB, free: 13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9892, allocations: 326.1 kB / 1.192 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.9902, allocations: 355.6 kB / 1.192 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.9914, allocations: 0.5018 MB / 1.192 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.9935, allocations: 0.7593 MB / 1.193 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9935, allocations: 1.094 kB / 1.193 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002907/0.9964, allocations: 1.05 MB / 1.194 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9964, allocations: 9.156 kB / 1.194 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9964, allocations: 3.438 kB / 1.194 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.9976, allocations: 307.3 kB / 1.194 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.9983, allocations: 134.1 kB / 1.195 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.9997, allocations: 0.8903 MB / 1.195 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.001, allocations: 122.5 kB / 1.196 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/1.001, allocations: 31.98 kB / 1.196 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001332/1.002, allocations: 0.5452 MB / 1.196 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001143/1.003, allocations: 0.5042 MB / 1.197 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002036/1.005, allocations: 0.7478 MB / 1.197 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.217e-06/1.005, allocations: 4 kB / 1.197 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002953/1.008, allocations: 1.043 MB / 1.198 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.008, allocations: 8.312 kB / 1.198 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.008, allocations: 3.281 kB / 1.198 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/1.01, allocations: 299.1 kB / 1.199 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/1.01, allocations: 129.2 kB / 1.199 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/1.012, allocations: 0.8954 MB / 1.2 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.013, allocations: 105.4 kB / 1.2 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/1.013, allocations: 31.92 kB / 1.2 GB, free: 7.57 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002936/1.013, allocations: 223.5 kB / 1.2 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/1.013, allocations: 111.6 kB / 1.2 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/1.017, allocations: 1.14 MB / 1.201 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.017, allocations: 0 / 1.201 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.017, allocations: 1.094 kB / 1.201 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/1.017, allocations: 278.2 kB / 1.201 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/1.018, allocations: 10.59 kB / 1.201 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009694/1.019, allocations: 75.56 kB / 1.202 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/1.019, allocations: 32.08 kB / 1.202 GB, free: 6.359 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.003284/1.022, allocations: 0.8821 MB / 1.202 GB, free: 5.887 MB / 0.9356 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated