Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 106.2 kB / 16.41 MB, free: 6.512 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.001375/0.001375, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002869/0.002869, allocations: 297.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4144, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05875/0.4732, allocations: 61.18 MB / 0.8268 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.49, allocations: 11.99 MB / 0.8385 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.492, allocations: 59.62 kB / 0.8386 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.494, allocations: 0.7026 MB / 0.8393 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005401/0.4994, allocations: 2.062 MB / 0.8413 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.5026, allocations: 1.212 MB / 0.8425 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00414/0.5067, allocations: 3.102 MB / 0.8455 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.5084, allocations: 1.1 MB / 0.8466 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.5115, allocations: 1.362 MB / 0.8479 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.5132, allocations: 0.8991 MB / 0.8488 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.5137, allocations: 116 kB / 0.8489 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.5184, allocations: 1.447 MB / 0.8503 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006238/0.519, allocations: 290.9 kB / 0.8506 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.5206, allocations: 0.6958 MB / 0.8513 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006028/0.5267, allocations: 2.32 MB / 0.8535 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.5267, allocations: 4 kB / 0.8535 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5267, allocations: 0 / 0.8535 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.913e-05/0.5268, allocations: 8 kB / 0.8535 GB, free: 11.05 MB / 0.6231 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.005593/0.5324, allocations: 1.719 MB / 0.8552 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5325, allocations: 8.031 kB / 0.8552 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.536, allocations: 406.9 kB / 0.8556 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.5397, allocations: 1.167 MB / 0.8568 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/0.5398, allocations: 69.94 kB / 0.8568 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.54, allocations: 83.94 kB / 0.8569 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.5433, allocations: 0.9976 MB / 0.8579 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.5433, allocations: 3.938 kB / 0.8579 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.5435, allocations: 40 kB / 0.8579 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.5436, allocations: 19.98 kB / 0.8579 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/0.547, allocations: 0.8586 MB / 0.8588 GB, free: 5.516 MB / 0.6231 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.009536/0.5566, allocations: 5.235 MB / 0.8639 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/0.5614, allocations: 0.7845 MB / 0.8647 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.5625, allocations: 304.1 kB / 0.8649 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009085/0.5635, allocations: 0.8986 MB / 0.8658 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.5635, allocations: 42.55 kB / 0.8659 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 3.015e-06/0.5635, allocations: 4 kB / 0.8659 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.01149/0.575, allocations: 1.865 MB / 0.8677 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.5751, allocations: 59.39 kB / 0.8677 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.5779, allocations: 1.076 MB / 0.8688 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.578, allocations: 33.7 kB / 0.8688 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000657/0.5787, allocations: 0.5273 MB / 0.8693 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.5789, allocations: 153.8 kB / 0.8695 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.5793, allocations: 142 kB / 0.8696 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5795, allocations: 329.9 kB / 0.8699 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.5809, allocations: 315.2 kB / 0.8702 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.5827, allocations: 0.5329 MB / 0.8708 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.5855, allocations: 0.7095 MB / 0.8715 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5855, allocations: 0 / 0.8715 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.005348/0.5909, allocations: 1.141 MB / 0.8726 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.5909, allocations: 11.94 kB / 0.8726 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5909, allocations: 4 kB / 0.8726 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.5927, allocations: 316.2 kB / 0.8729 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.5935, allocations: 127.8 kB / 0.873 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.5958, allocations: 0.9035 MB / 0.8739 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.5976, allocations: 155.2 kB / 0.874 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.864e-05/0.5977, allocations: 31.98 kB / 0.8741 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002016/0.5998, allocations: 0.5051 MB / 0.8746 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001513/0.6013, allocations: 0.5329 MB / 0.8751 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00265/0.604, allocations: 0.7093 MB / 0.8758 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.055e-05/0.604, allocations: 4 kB / 0.8758 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.005139/0.6091, allocations: 1.125 MB / 0.8769 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6092, allocations: 4.062 kB / 0.8769 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6092, allocations: 12 kB / 0.8769 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.6107, allocations: 300.5 kB / 0.8772 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.6116, allocations: 135.8 kB / 0.8773 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.6136, allocations: 0.9024 MB / 0.8782 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.6154, allocations: 135.6 kB / 0.8783 GB, free: 424 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.6154, allocations: 31.98 kB / 0.8783 GB, free: 392 kB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.000231/0.6157, allocations: 221.2 kB / 0.8786 GB, free: 164 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.616, allocations: 114.5 kB / 0.8787 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.6199, allocations: 1.092 MB / 0.8797 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6199, allocations: 4 kB / 0.8797 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6199, allocations: 0 / 0.8797 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.6204, allocations: 259.5 kB / 0.88 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.6206, allocations: 8 kB / 0.88 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/0.6214, allocations: 71.91 kB / 0.8801 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.6215, allocations: 32.33 kB / 0.8801 GB, free: 14.55 MB / 0.6544 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.002883/0.6244, allocations: 0.7731 MB / 0.8808 GB, free: 13.78 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL could not be translated