Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 108.5 kB / 16.41 MB, free: 6.449 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.00127/0.00127, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.09 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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8578, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.0671/0.9249, allocations: 61.28 MB / 1.148 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.9439, allocations: 12 MB / 1.16 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.947, allocations: 60.31 kB / 1.16 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.9497, allocations: 0.705 MB / 1.161 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007135/0.9568, allocations: 2.07 MB / 1.163 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.9608, allocations: 1.213 MB / 1.164 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005402/0.9662, allocations: 3.111 MB / 1.167 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.9683, allocations: 1.111 MB / 1.168 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.9721, allocations: 1.373 MB / 1.17 GB, free: 11.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.9743, allocations: 0.9101 MB / 1.171 GB, free: 11.4 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.9748, allocations: 116.3 kB / 1.171 GB, free: 11.4 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004057/0.9788, allocations: 1.443 MB / 1.172 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.9794, allocations: 295.2 kB / 1.172 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.9812, allocations: 0.6978 MB / 1.173 GB, free: 10.28 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005197/0.9864, allocations: 2.306 MB / 1.175 GB, free: 9.023 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9864, allocations: 1.094 kB / 1.175 GB, free: 9.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9864, allocations: 0 / 1.175 GB, free: 9.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.36e-05/0.9865, allocations: 4 kB / 1.175 GB, free: 9.02 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.004732/0.9912, allocations: 1.747 MB / 1.177 GB, free: 7.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9913, allocations: 9.156 kB / 1.177 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.9937, allocations: 411 kB / 1.177 GB, free: 7.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.9965, allocations: 1.16 MB / 1.178 GB, free: 6.555 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-05/0.9966, allocations: 60.28 kB / 1.179 GB, free: 6.531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.9968, allocations: 83.81 kB / 1.179 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.9993, allocations: 1.016 MB / 1.18 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.9993, allocations: 8.938 kB / 1.18 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.9994, allocations: 36.91 kB / 1.18 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.9995, allocations: 20.09 kB / 1.18 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/1.002, allocations: 0.8814 MB / 1.181 GB, free: 5.359 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.007425/1.01, allocations: 5.252 MB / 1.186 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/1.013, allocations: 0.7918 MB / 1.186 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/1.014, allocations: 309.8 kB / 1.187 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/1.015, allocations: 0.9022 MB / 1.188 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/1.015, allocations: 44.72 kB / 1.188 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.445e-06/1.015, allocations: 0 / 1.188 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.008636/1.023, allocations: 1.903 MB / 1.19 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/1.023, allocations: 55.38 kB / 1.19 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/1.025, allocations: 1.072 MB / 1.191 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/1.025, allocations: 38.95 kB / 1.191 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/1.026, allocations: 0.542 MB / 1.191 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/1.026, allocations: 157.2 kB / 1.191 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/1.026, allocations: 135.8 kB / 1.191 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.027, allocations: 327.2 kB / 1.192 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009755/1.027, allocations: 321.9 kB / 1.192 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.029, allocations: 0.5477 MB / 1.193 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/1.031, allocations: 0.7444 MB / 1.193 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/1.031, allocations: 6.625 kB / 1.193 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003895/1.034, allocations: 1.175 MB / 1.195 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.035, allocations: 11.03 kB / 1.195 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.035, allocations: 5.906 kB / 1.195 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/1.036, allocations: 311.6 kB / 1.195 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/1.036, allocations: 144.6 kB / 1.195 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/1.038, allocations: 0.8972 MB / 1.196 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.039, allocations: 155 kB / 1.196 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/1.039, allocations: 35.98 kB / 1.196 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/1.041, allocations: 0.5281 MB / 1.197 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001138/1.042, allocations: 0.5419 MB / 1.197 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001815/1.044, allocations: 0.7414 MB / 1.198 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.823e-06/1.044, allocations: 6.469 kB / 1.198 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003765/1.047, allocations: 1.145 MB / 1.199 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.048, allocations: 15.64 kB / 1.199 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.048, allocations: 5.438 kB / 1.199 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.049, allocations: 283.1 kB / 1.199 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/1.049, allocations: 145.3 kB / 1.199 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/1.051, allocations: 0.8969 MB / 1.2 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.052, allocations: 145.8 kB / 1.2 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/1.052, allocations: 26.81 kB / 1.2 GB, free: 6.703 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002887/1.053, allocations: 235.1 kB / 1.201 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/1.053, allocations: 115.8 kB / 1.201 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/1.057, allocations: 1.121 MB / 1.202 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.057, allocations: 3.984 kB / 1.202 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.057, allocations: 0 / 1.202 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006304/1.058, allocations: 266.2 kB / 1.202 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.058, allocations: 14.38 kB / 1.202 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/1.059, allocations: 70.41 kB / 1.202 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/1.059, allocations: 31.17 kB / 1.202 GB, free: 5.5 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.002933/1.062, allocations: 0.784 MB / 1.203 GB, free: 5.078 MB / 0.9356 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature could not be translated