Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001117/0.001117, allocations: 116.1 kB / 16.42 MB, free: 6.504 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.001131/0.001131, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8417/0.8417, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 62.41 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1472, allocations: 80.22 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06539/0.2126, allocations: 61.16 MB / 0.7201 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01727/0.2299, allocations: 11.99 MB / 0.7318 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.2319, allocations: 59.69 kB / 0.7318 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.234, allocations: 0.6947 MB / 0.7325 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.2394, allocations: 2.061 MB / 0.7345 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.2424, allocations: 1.211 MB / 0.7357 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004121/0.2465, allocations: 3.091 MB / 0.7387 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.2482, allocations: 1.1 MB / 0.7398 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.2511, allocations: 1.356 MB / 0.7411 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.2526, allocations: 0.8984 MB / 0.742 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.2529, allocations: 116 kB / 0.7421 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.2556, allocations: 1.462 MB / 0.7436 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.256, allocations: 298.8 kB / 0.7438 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009265/0.2569, allocations: 0.6959 MB / 0.7445 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.2606, allocations: 2.328 MB / 0.7468 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2606, allocations: 4 kB / 0.7468 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2606, allocations: 0 / 0.7468 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.599e-05/0.2606, allocations: 0 / 0.7468 GB, free: 1.414 MB / 0.5762 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.355/0.6156, allocations: 1.77 MB / 0.7485 GB, free: 86.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.6157, allocations: 9.281 kB / 0.7485 GB, free: 86.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.6178, allocations: 352.4 kB / 0.7489 GB, free: 86.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.6205, allocations: 1.169 MB / 0.75 GB, free: 85.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.6206, allocations: 61.25 kB / 0.7501 GB, free: 85.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.6208, allocations: 79.69 kB / 0.7501 GB, free: 85.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.6228, allocations: 0.9756 MB / 0.7511 GB, free: 85.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6229, allocations: 9 kB / 0.7511 GB, free: 85.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.623, allocations: 33.8 kB / 0.7511 GB, free: 85.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.623, allocations: 21.47 kB / 0.7512 GB, free: 85.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.6249, allocations: 0.7941 MB / 0.7519 GB, free: 85.34 MB / 0.5762 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.006476/0.6314, allocations: 5.136 MB / 0.7569 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.6331, allocations: 0.5564 MB / 0.7575 GB, free: 81.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.6338, allocations: 264.6 kB / 0.7577 GB, free: 81.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.635, allocations: 1.372 MB / 0.7591 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.6351, allocations: 37.83 kB / 0.7591 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.995e-06/0.6351, allocations: 0 / 0.7591 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007493/0.6426, allocations: 1.621 MB / 0.7607 GB, free: 79.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.6426, allocations: 55.81 kB / 0.7608 GB, free: 79.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.6449, allocations: 1.072 MB / 0.7618 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.645, allocations: 38.3 kB / 0.7618 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/0.6455, allocations: 0.5467 MB / 0.7624 GB, free: 78.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.6457, allocations: 154.8 kB / 0.7625 GB, free: 78.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.646, allocations: 138.3 kB / 0.7627 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.646, allocations: 327 kB / 0.763 GB, free: 77.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/0.6468, allocations: 279.1 kB / 0.7632 GB, free: 77.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009469/0.6478, allocations: 0.4911 MB / 0.7637 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.6492, allocations: 0.666 MB / 0.7644 GB, free: 76.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.6492, allocations: 1.156 kB / 0.7644 GB, free: 76.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002764/0.652, allocations: 0.9634 MB / 0.7653 GB, free: 76.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.652, allocations: 11.23 kB / 0.7653 GB, free: 76.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.6521, allocations: 6 kB / 0.7653 GB, free: 76.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.6534, allocations: 299.9 kB / 0.7656 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.6539, allocations: 122.9 kB / 0.7657 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.6554, allocations: 0.8978 MB / 0.7666 GB, free: 75.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.6567, allocations: 146.8 kB / 0.7667 GB, free: 75.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.6568, allocations: 31.16 kB / 0.7668 GB, free: 75.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/0.6579, allocations: 489.6 kB / 0.7672 GB, free: 75.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009414/0.6589, allocations: 0.4948 MB / 0.7677 GB, free: 75.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00137/0.6603, allocations: 0.6431 MB / 0.7683 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.6603, allocations: 1.844 kB / 0.7683 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002763/0.6631, allocations: 0.9608 MB / 0.7693 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6631, allocations: 8.375 kB / 0.7693 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.6631, allocations: 3.844 kB / 0.7693 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.6642, allocations: 303.4 kB / 0.7696 GB, free: 74.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.6647, allocations: 114.9 kB / 0.7697 GB, free: 74.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.666, allocations: 0.899 MB / 0.7706 GB, free: 73.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.6673, allocations: 131.3 kB / 0.7707 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.6674, allocations: 30.03 kB / 0.7707 GB, free: 73.66 MB / 0.5762 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.00023/0.6676, allocations: 221.4 kB / 0.7709 GB, free: 73.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.6678, allocations: 120.4 kB / 0.7711 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.6706, allocations: 0.9939 MB / 0.772 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.6706, allocations: 7.594 kB / 0.772 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.6706, allocations: 0 / 0.772 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.671, allocations: 262.7 kB / 0.7723 GB, free: 72.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6711, allocations: 6.25 kB / 0.7723 GB, free: 72.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.6718, allocations: 66.27 kB / 0.7724 GB, free: 72.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.6719, allocations: 26.75 kB / 0.7724 GB, free: 72.8 MB / 0.5762 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.002546/0.6745, allocations: 0.734 MB / 0.7731 GB, free: 72.46 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity could not be translated