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.001123/0.001123, allocations: 112.7 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.001218/0.001218, 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.349/1.349, 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.002283/0.002283, allocations: 281.9 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.9813/0.9813, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 99.83 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4427, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06984/0.5126, allocations: 61.16 MB / 0.8268 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.5315, allocations: 12 MB / 0.8385 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.5344, allocations: 55.69 kB / 0.8386 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.537, allocations: 0.7025 MB / 0.8392 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006654/0.5437, allocations: 2.059 MB / 0.8413 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.5474, allocations: 1.207 MB / 0.8424 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004969/0.5524, allocations: 3.095 MB / 0.8455 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.5545, allocations: 1.104 MB / 0.8465 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.5584, allocations: 1.364 MB / 0.8479 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.5606, allocations: 0.8945 MB / 0.8487 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004943/0.5611, allocations: 116 kB / 0.8489 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.5647, allocations: 1.458 MB / 0.8503 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000674/0.5654, allocations: 294.9 kB / 0.8506 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.567, allocations: 0.6997 MB / 0.8512 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005812/0.5728, allocations: 2.32 MB / 0.8535 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5728, allocations: 0 / 0.8535 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5729, allocations: 0 / 0.8535 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.415e-05/0.5729, allocations: 0 / 0.8535 GB, free: 11.11 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.004689/0.5776, allocations: 1.723 MB / 0.8552 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.5777, allocations: 8.031 kB / 0.8552 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.5795, allocations: 347 kB / 0.8555 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.582, allocations: 1.163 MB / 0.8567 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.5821, allocations: 66 kB / 0.8567 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.5822, allocations: 80 kB / 0.8568 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.5841, allocations: 0.9664 MB / 0.8577 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.5841, allocations: 0 / 0.8577 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.5842, allocations: 39.94 kB / 0.8578 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.5843, allocations: 23.94 kB / 0.8578 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.5863, allocations: 0.8001 MB / 0.8586 GB, free: 5.723 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.006444/0.5928, allocations: 5.137 MB / 0.8636 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.5943, allocations: 0.5614 MB / 0.8642 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/0.595, allocations: 260.7 kB / 0.8644 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.5964, allocations: 1.373 MB / 0.8657 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.5965, allocations: 42.5 kB / 0.8658 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.995e-06/0.5965, allocations: 0 / 0.8658 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.006731/0.6032, allocations: 1.612 MB / 0.8674 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.6033, allocations: 59.41 kB / 0.8674 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.6049, allocations: 1.076 MB / 0.8685 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.6049, allocations: 37.7 kB / 0.8685 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.6054, allocations: 0.5273 MB / 0.869 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6055, allocations: 149.8 kB / 0.8692 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.6057, allocations: 134.1 kB / 0.8693 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6058, allocations: 333.9 kB / 0.8696 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.6066, allocations: 279.3 kB / 0.8699 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/0.6076, allocations: 0.493 MB / 0.8704 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.6091, allocations: 0.6588 MB / 0.871 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6091, allocations: 4 kB / 0.871 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00248/0.6116, allocations: 0.9538 MB / 0.8719 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6117, allocations: 8 kB / 0.8719 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6117, allocations: 12.03 kB / 0.872 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.613, allocations: 299.9 kB / 0.8722 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.6135, allocations: 123.8 kB / 0.8724 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.615, allocations: 0.8996 MB / 0.8732 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.6165, allocations: 139.2 kB / 0.8734 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.6166, allocations: 39.98 kB / 0.8734 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.6179, allocations: 485.2 kB / 0.8739 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009475/0.6188, allocations: 0.4892 MB / 0.8743 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001397/0.6202, allocations: 0.651 MB / 0.875 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.017e-06/0.6203, allocations: 0 / 0.875 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002504/0.6228, allocations: 0.9499 MB / 0.8759 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6228, allocations: 8 kB / 0.8759 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6228, allocations: 8 kB / 0.8759 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.624, allocations: 296.6 kB / 0.8762 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.6245, allocations: 115.8 kB / 0.8763 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.6259, allocations: 0.9024 MB / 0.8772 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.6271, allocations: 123.6 kB / 0.8773 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/0.6272, allocations: 31.98 kB / 0.8773 GB, free: 1.34 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.0002534/0.6275, allocations: 220.5 kB / 0.8776 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.6277, allocations: 110.6 kB / 0.8777 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.6309, allocations: 0.9974 MB / 0.8786 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6309, allocations: 0 / 0.8786 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6309, allocations: 0 / 0.8786 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.6314, allocations: 267.4 kB / 0.8789 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.6317, allocations: 8 kB / 0.8789 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/0.6325, allocations: 63.92 kB / 0.879 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.6326, allocations: 40.36 kB / 0.879 GB, free: 15.62 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.002746/0.6353, allocations: 0.7253 MB / 0.8797 GB, free: 14.89 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