Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001101/0.001101, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 294.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.9791/0.9791, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 91.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4858, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0611/0.5469, allocations: 61.16 MB / 0.8268 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.564, allocations: 11.99 MB / 0.8385 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.5661, allocations: 63.62 kB / 0.8386 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.5682, allocations: 0.6791 MB / 0.8392 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.5739, allocations: 1.959 MB / 0.8411 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.5773, allocations: 1.211 MB / 0.8423 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.5827, allocations: 3.083 MB / 0.8453 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.5848, allocations: 1.096 MB / 0.8464 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.5885, allocations: 1.353 MB / 0.8477 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.5906, allocations: 0.8944 MB / 0.8486 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004555/0.5911, allocations: 116 kB / 0.8487 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.5945, allocations: 1.462 MB / 0.8501 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.5951, allocations: 290.9 kB / 0.8504 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.5965, allocations: 0.7036 MB / 0.8511 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004619/0.6012, allocations: 2.32 MB / 0.8534 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6012, allocations: 0 / 0.8534 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6012, allocations: 0 / 0.8534 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.282e-05/0.6013, allocations: 0 / 0.8534 GB, free: 11.2 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.003886/0.6052, allocations: 1.723 MB / 0.8551 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6052, allocations: 8.031 kB / 0.8551 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.6072, allocations: 346.9 kB / 0.8554 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.6097, allocations: 1.163 MB / 0.8565 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.6098, allocations: 69.98 kB / 0.8566 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.61, allocations: 80 kB / 0.8567 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.6119, allocations: 0.9664 MB / 0.8576 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.612, allocations: 3.938 kB / 0.8576 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.6121, allocations: 36 kB / 0.8577 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.6121, allocations: 20 kB / 0.8577 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.6142, allocations: 0.7962 MB / 0.8584 GB, free: 5.824 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.006699/0.6209, allocations: 5.137 MB / 0.8635 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.6226, allocations: 0.5613 MB / 0.864 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.6232, allocations: 274.7 kB / 0.8643 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.6246, allocations: 1.372 MB / 0.8656 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.6247, allocations: 42.56 kB / 0.8657 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.6247, allocations: 0 / 0.8657 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.007105/0.6318, allocations: 1.608 MB / 0.8672 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6318, allocations: 55.41 kB / 0.8673 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6338, allocations: 1.084 MB / 0.8683 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6339, allocations: 37.7 kB / 0.8684 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.6343, allocations: 0.5273 MB / 0.8689 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.6345, allocations: 145.8 kB / 0.869 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.6347, allocations: 134.1 kB / 0.8692 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6348, allocations: 337.9 kB / 0.8695 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007812/0.6356, allocations: 279.3 kB / 0.8697 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009723/0.6366, allocations: 0.493 MB / 0.8702 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.6381, allocations: 0.6627 MB / 0.8709 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6381, allocations: 4 kB / 0.8709 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002561/0.6407, allocations: 0.9499 MB / 0.8718 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6407, allocations: 8 kB / 0.8718 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6407, allocations: 12.02 kB / 0.8718 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.642, allocations: 296.6 kB / 0.8721 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.6425, allocations: 119.8 kB / 0.8722 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.644, allocations: 0.9035 MB / 0.8731 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6452, allocations: 135.2 kB / 0.8732 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.6453, allocations: 35.98 kB / 0.8733 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001108/0.6464, allocations: 485.2 kB / 0.8737 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009404/0.6474, allocations: 0.4892 MB / 0.8742 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001463/0.6488, allocations: 0.655 MB / 0.8748 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.648e-06/0.6488, allocations: 0 / 0.8748 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002558/0.6514, allocations: 0.9421 MB / 0.8758 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6514, allocations: 11.98 kB / 0.8758 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.6515, allocations: 4 kB / 0.8758 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.6526, allocations: 303.9 kB / 0.8761 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.6531, allocations: 119.8 kB / 0.8762 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.6545, allocations: 0.8995 MB / 0.8771 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6557, allocations: 123.6 kB / 0.8772 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.6558, allocations: 31.98 kB / 0.8772 GB, free: 1.438 MB / 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.0002226/0.656, allocations: 220.5 kB / 0.8774 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.6563, allocations: 114.5 kB / 0.8775 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.6593, allocations: 1.002 MB / 0.8785 GB, free: 96 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6593, allocations: 3.984 kB / 0.8785 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6593, allocations: 0 / 0.8785 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.6597, allocations: 263.5 kB / 0.8788 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.6599, allocations: 12 kB / 0.8788 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/0.6607, allocations: 55.94 kB / 0.8788 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.6608, allocations: 36.33 kB / 0.8789 GB, free: 15.71 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.002688/0.6635, allocations: 0.7263 MB / 0.8796 GB, free: 14.98 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity could not be translated