Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001545/0.001545, allocations: 110 kB / 16.42 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.001702/0.001702, allocations: 187.9 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.421/1.421, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 287.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9343/0.9343, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 107.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4481, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05945/0.5076, allocations: 61.16 MB / 0.8268 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.5252, allocations: 11.99 MB / 0.8385 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.5274, allocations: 59.62 kB / 0.8386 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.5297, allocations: 0.6792 MB / 0.8392 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005887/0.5356, allocations: 1.959 MB / 0.8411 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.5389, allocations: 1.218 MB / 0.8423 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004881/0.5438, allocations: 3.087 MB / 0.8453 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.5459, allocations: 1.096 MB / 0.8464 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.5497, allocations: 1.358 MB / 0.8477 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.5516, allocations: 0.8983 MB / 0.8486 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004245/0.5521, allocations: 116 kB / 0.8487 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/0.5557, allocations: 1.478 MB / 0.8502 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.5563, allocations: 294.9 kB / 0.8504 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.5576, allocations: 0.688 MB / 0.8511 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.5629, allocations: 2.34 MB / 0.8534 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.563, allocations: 0 / 0.8534 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.765e-06/0.563, allocations: 0 / 0.8534 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.864e-05/0.5631, allocations: 4 kB / 0.8534 GB, free: 11.15 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.004564/0.5676, allocations: 1.738 MB / 0.8551 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5677, allocations: 8.031 kB / 0.8551 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.5695, allocations: 343 kB / 0.8554 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.5721, allocations: 1.152 MB / 0.8566 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-05/0.5722, allocations: 66 kB / 0.8566 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5723, allocations: 84 kB / 0.8567 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.5743, allocations: 0.9702 MB / 0.8577 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.5743, allocations: 0 / 0.8577 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.5744, allocations: 32 kB / 0.8577 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.5744, allocations: 20 kB / 0.8577 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.5764, allocations: 0.8001 MB / 0.8585 GB, free: 5.773 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.006377/0.5828, allocations: 5.148 MB / 0.8635 GB, free: 256 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.5843, allocations: 0.5683 MB / 0.8641 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.5849, allocations: 264.7 kB / 0.8643 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.5864, allocations: 1.376 MB / 0.8657 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5864, allocations: 34.56 kB / 0.8657 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.685e-06/0.5864, allocations: 0 / 0.8657 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.005887/0.5923, allocations: 1.495 MB / 0.8672 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5924, allocations: 55.41 kB / 0.8672 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.5941, allocations: 1.076 MB / 0.8683 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.5942, allocations: 41.7 kB / 0.8683 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.5947, allocations: 0.5312 MB / 0.8688 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.5949, allocations: 153.8 kB / 0.869 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.5951, allocations: 138.1 kB / 0.8691 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5952, allocations: 334 kB / 0.8694 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/0.5961, allocations: 275.3 kB / 0.8697 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009632/0.597, allocations: 0.4915 MB / 0.8702 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.5986, allocations: 0.6541 MB / 0.8708 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.5986, allocations: 0 / 0.8708 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002672/0.6013, allocations: 0.9577 MB / 0.8717 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6013, allocations: 11.12 kB / 0.8717 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6013, allocations: 4 kB / 0.8717 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.6026, allocations: 312.7 kB / 0.872 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.6032, allocations: 115.8 kB / 0.8722 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.6046, allocations: 0.8996 MB / 0.873 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6058, allocations: 143.2 kB / 0.8732 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.6059, allocations: 35.98 kB / 0.8732 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001105/0.607, allocations: 485.2 kB / 0.8737 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000967/0.608, allocations: 496 kB / 0.8741 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001479/0.6094, allocations: 0.654 MB / 0.8748 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.6095, allocations: 0 / 0.8748 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002581/0.6121, allocations: 0.9383 MB / 0.8757 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6121, allocations: 12.03 kB / 0.8757 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6121, allocations: 8 kB / 0.8757 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.6132, allocations: 300.6 kB / 0.876 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.6137, allocations: 119.8 kB / 0.8761 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.6152, allocations: 0.9103 MB / 0.877 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.6164, allocations: 127.5 kB / 0.8771 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.6165, allocations: 24 kB / 0.8772 GB, free: 1.5 MB / 0.6387 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.0002321/0.6168, allocations: 224.6 kB / 0.8774 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.617, allocations: 114.7 kB / 0.8775 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.6194, allocations: 0.8885 MB / 0.8783 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6194, allocations: 7.922 kB / 0.8783 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6194, allocations: 0 / 0.8783 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.6199, allocations: 259.5 kB / 0.8786 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.6201, allocations: 16 kB / 0.8786 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007826/0.6209, allocations: 59.92 kB / 0.8787 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.621, allocations: 32.39 kB / 0.8787 GB, free: 15.87 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.002695/0.6237, allocations: 0.7263 MB / 0.8794 GB, free: 15.15 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL could not be translated