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.001095/0.001095, allocations: 113.9 kB / 16.42 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.001147/0.001147, allocations: 185.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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002372/0.002372, allocations: 290.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9632/0.9632, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4286, allocations: 86.99 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06367/0.4924, allocations: 61.16 MB / 0.8268 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.5112, allocations: 11.99 MB / 0.8385 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.5134, allocations: 63.62 kB / 0.8386 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.5156, allocations: 0.7026 MB / 0.8392 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.5216, allocations: 2.062 MB / 0.8413 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.5249, allocations: 1.223 MB / 0.8425 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004428/0.5294, allocations: 3.091 MB / 0.8455 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.5313, allocations: 1.092 MB / 0.8465 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.5348, allocations: 1.368 MB / 0.8479 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.5366, allocations: 0.8944 MB / 0.8487 GB, free: 0 / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.537, allocations: 116 kB / 0.8489 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.5404, allocations: 1.482 MB / 0.8503 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005349/0.5409, allocations: 298.8 kB / 0.8506 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.5423, allocations: 0.6919 MB / 0.8513 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.5467, allocations: 2.332 MB / 0.8535 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5467, allocations: 0 / 0.8535 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5467, allocations: 0 / 0.8535 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.801e-05/0.5468, allocations: 4 kB / 0.8535 GB, free: 11.07 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.005028/0.5518, allocations: 1.734 MB / 0.8552 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.5519, allocations: 8.031 kB / 0.8552 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.5538, allocations: 350.9 kB / 0.8556 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.5567, allocations: 1.156 MB / 0.8567 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.5567, allocations: 62 kB / 0.8568 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.5569, allocations: 84 kB / 0.8569 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.5592, allocations: 0.9702 MB / 0.8578 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.5592, allocations: 0 / 0.8578 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/0.5593, allocations: 32 kB / 0.8578 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.5593, allocations: 20 kB / 0.8578 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.5615, allocations: 0.8001 MB / 0.8586 GB, free: 5.691 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.007399/0.569, allocations: 5.152 MB / 0.8637 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5705, allocations: 0.5581 MB / 0.8642 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.5711, allocations: 272.6 kB / 0.8645 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.5726, allocations: 1.373 MB / 0.8658 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.5726, allocations: 38.55 kB / 0.8658 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.816e-06/0.5727, allocations: 0 / 0.8658 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.005746/0.5784, allocations: 1.491 MB / 0.8673 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.5785, allocations: 59.34 kB / 0.8674 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.5804, allocations: 1.076 MB / 0.8684 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.5805, allocations: 33.7 kB / 0.8684 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.581, allocations: 0.5312 MB / 0.869 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.5811, allocations: 157.8 kB / 0.8691 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.5814, allocations: 138.1 kB / 0.8692 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5815, allocations: 330 kB / 0.8696 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.5823, allocations: 279.3 kB / 0.8698 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009471/0.5832, allocations: 496 kB / 0.8703 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.5849, allocations: 0.6541 MB / 0.8709 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-06/0.5849, allocations: 4 kB / 0.8709 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002606/0.5875, allocations: 0.9577 MB / 0.8719 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5875, allocations: 11.94 kB / 0.8719 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5875, allocations: 7.984 kB / 0.8719 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.5889, allocations: 300.6 kB / 0.8722 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.5894, allocations: 119.8 kB / 0.8723 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.5909, allocations: 0.8953 MB / 0.8732 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.5921, allocations: 151.2 kB / 0.8733 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.5922, allocations: 32 kB / 0.8733 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/0.5933, allocations: 493.2 kB / 0.8738 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000948/0.5943, allocations: 488.1 kB / 0.8743 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001442/0.5958, allocations: 0.6618 MB / 0.8749 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.152e-06/0.5958, allocations: 0 / 0.8749 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002534/0.5983, allocations: 0.9344 MB / 0.8758 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.5983, allocations: 8 kB / 0.8758 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5984, allocations: 8.031 kB / 0.8759 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.5996, allocations: 300.6 kB / 0.8761 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.6001, allocations: 127.7 kB / 0.8763 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.6015, allocations: 0.8956 MB / 0.8771 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.6028, allocations: 127.5 kB / 0.8773 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.6029, allocations: 27.98 kB / 0.8773 GB, free: 1.422 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.0002689/0.6031, allocations: 224 kB / 0.8775 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.6035, allocations: 114.7 kB / 0.8776 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.6059, allocations: 0.8963 MB / 0.8785 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6059, allocations: 3.938 kB / 0.8785 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.6059, allocations: 0 / 0.8785 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.6064, allocations: 259.6 kB / 0.8787 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.6067, allocations: 12 kB / 0.8787 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/0.6075, allocations: 59.92 kB / 0.8788 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.6076, allocations: 32.39 kB / 0.8788 GB, free: 15.79 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.002593/0.6102, allocations: 0.7295 MB / 0.8795 GB, free: 15.07 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