Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001057/0.001057, allocations: 110 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.001067/0.001067, allocations: 186.6 kB / 17.35 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.292/1.292, 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-master/package.mo): time 0.7969/0.7969, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 70.67 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1732, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.07186/0.2451, allocations: 61.17 MB / 0.7251 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.2644, allocations: 11.97 MB / 0.7367 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.2672, allocations: 55.69 kB / 0.7368 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.2701, allocations: 0.7025 MB / 0.7375 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006749/0.2768, allocations: 2.06 MB / 0.7395 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.2804, allocations: 1.21 MB / 0.7407 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004854/0.2853, allocations: 3.095 MB / 0.7437 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.2873, allocations: 1.092 MB / 0.7448 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.291, allocations: 1.382 MB / 0.7461 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.2929, allocations: 0.8945 MB / 0.747 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004372/0.2933, allocations: 120 kB / 0.7471 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.2969, allocations: 1.451 MB / 0.7485 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005096/0.2974, allocations: 302.8 kB / 0.7488 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4065/0.7039, allocations: 0.681 MB / 0.7495 GB, free: 23.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005755/0.7098, allocations: 2.318 MB / 0.7517 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7098, allocations: 1.031 kB / 0.7517 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7098, allocations: 0 / 0.7517 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.681e-05/0.7099, allocations: 0 / 0.7517 GB, free: 23.16 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.004116/0.714, allocations: 1.734 MB / 0.7534 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.7141, allocations: 10.52 kB / 0.7534 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.716, allocations: 346.6 kB / 0.7538 GB, free: 22.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.7187, allocations: 1.157 MB / 0.7549 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.7188, allocations: 62.5 kB / 0.755 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.7189, allocations: 80.41 kB / 0.755 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.7211, allocations: 0.9692 MB / 0.756 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.7211, allocations: 4.75 kB / 0.756 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.7212, allocations: 38.45 kB / 0.756 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.7213, allocations: 18.78 kB / 0.756 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.7235, allocations: 0.7952 MB / 0.7568 GB, free: 21.65 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.007659/0.7312, allocations: 5.136 MB / 0.7618 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.7331, allocations: 0.5517 MB / 0.7624 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/0.7338, allocations: 266.8 kB / 0.7626 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.7352, allocations: 1.372 MB / 0.764 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.7352, allocations: 39.05 kB / 0.764 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.775e-06/0.7352, allocations: 2.625 kB / 0.764 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007394/0.7426, allocations: 1.612 MB / 0.7656 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.7427, allocations: 56 kB / 0.7656 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.7448, allocations: 1.078 MB / 0.7667 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.7449, allocations: 36.95 kB / 0.7667 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.7453, allocations: 0.5309 MB / 0.7672 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.7454, allocations: 151.2 kB / 0.7674 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.7457, allocations: 137.3 kB / 0.7675 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.7457, allocations: 329.4 kB / 0.7678 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/0.7465, allocations: 281.9 kB / 0.7681 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/0.7474, allocations: 498.6 kB / 0.7686 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.7487, allocations: 0.6617 MB / 0.7692 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.7488, allocations: 2.625 kB / 0.7692 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002516/0.7513, allocations: 0.9558 MB / 0.7702 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.7513, allocations: 7.594 kB / 0.7702 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7513, allocations: 6.812 kB / 0.7702 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.7527, allocations: 302.5 kB / 0.7705 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.7533, allocations: 121.5 kB / 0.7706 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.7547, allocations: 0.8976 MB / 0.7715 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7561, allocations: 139.8 kB / 0.7716 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.7561, allocations: 34.31 kB / 0.7716 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001296/0.7575, allocations: 489.2 kB / 0.7721 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008766/0.7583, allocations: 0.4966 MB / 0.7726 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001341/0.7597, allocations: 0.6526 MB / 0.7732 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.101e-06/0.7597, allocations: 4.719 kB / 0.7732 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002562/0.7623, allocations: 0.952 MB / 0.7741 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7623, allocations: 11.22 kB / 0.7742 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7623, allocations: 8.938 kB / 0.7742 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.7634, allocations: 289.7 kB / 0.7744 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.7639, allocations: 119.1 kB / 0.7746 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.7651, allocations: 0.8918 MB / 0.7754 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.7665, allocations: 125.1 kB / 0.7755 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.7665, allocations: 33.67 kB / 0.7756 GB, free: 13.41 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.0002651/0.7668, allocations: 224.5 kB / 0.7758 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.767, allocations: 107.7 kB / 0.7759 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/0.7701, allocations: 0.9978 MB / 0.7769 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.7701, allocations: 4.391 kB / 0.7769 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7701, allocations: 0 / 0.7769 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.7707, allocations: 256.1 kB / 0.7771 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.7709, allocations: 10.53 kB / 0.7771 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.7716, allocations: 57.78 kB / 0.7772 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.7717, allocations: 33.61 kB / 0.7772 GB, free: 12.89 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.002501/0.7742, allocations: 0.7276 MB / 0.7779 GB, free: 12.77 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