Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001059/0.001059, allocations: 192 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7799/0.7799, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 61.75 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 80.92 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06068/0.2095, allocations: 61.15 MB / 0.725 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.2257, allocations: 11.97 MB / 0.7367 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.2276, allocations: 63.62 kB / 0.7368 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.2297, allocations: 0.6947 MB / 0.7374 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.2353, allocations: 2.068 MB / 0.7395 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.2386, allocations: 1.208 MB / 0.7406 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004522/0.2431, allocations: 3.083 MB / 0.7436 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.2449, allocations: 1.1 MB / 0.7447 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.2483, allocations: 1.363 MB / 0.7461 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.2501, allocations: 0.8984 MB / 0.7469 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003874/0.2505, allocations: 120 kB / 0.747 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.254, allocations: 1.443 MB / 0.7485 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.2545, allocations: 294.9 kB / 0.7487 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3272/0.5817, allocations: 0.6852 MB / 0.7494 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004384/0.5861, allocations: 2.306 MB / 0.7517 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.5861, allocations: 3.719 kB / 0.7517 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5861, allocations: 0 / 0.7517 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.352e-05/0.5862, allocations: 0 / 0.7517 GB, free: 23.19 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.003296/0.5895, allocations: 1.731 MB / 0.7533 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5895, allocations: 10.91 kB / 0.7534 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.5917, allocations: 411.2 kB / 0.7538 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.5939, allocations: 1.161 MB / 0.7549 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.5939, allocations: 62.78 kB / 0.7549 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.5941, allocations: 79.88 kB / 0.755 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.5961, allocations: 0.9972 MB / 0.756 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5961, allocations: 1.406 kB / 0.756 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.5962, allocations: 35.39 kB / 0.756 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.5963, allocations: 22.81 kB / 0.7561 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/0.5987, allocations: 0.8512 MB / 0.7569 GB, free: 21.68 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.007049/0.6057, allocations: 5.205 MB / 0.762 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.6094, allocations: 0.7838 MB / 0.7627 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/0.6102, allocations: 298.7 kB / 0.763 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.6107, allocations: 0.8991 MB / 0.7639 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.6107, allocations: 36.67 kB / 0.7639 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.976e-06/0.6108, allocations: 0 / 0.7639 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007303/0.6181, allocations: 1.702 MB / 0.7656 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.6181, allocations: 61.03 kB / 0.7656 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.6199, allocations: 1.072 MB / 0.7667 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.62, allocations: 39.36 kB / 0.7667 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.6204, allocations: 0.5304 MB / 0.7673 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6205, allocations: 151.1 kB / 0.7674 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.6208, allocations: 139.2 kB / 0.7675 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.6209, allocations: 335 kB / 0.7678 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008476/0.6217, allocations: 302.2 kB / 0.7681 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/0.6227, allocations: 0.5279 MB / 0.7687 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.6243, allocations: 0.7171 MB / 0.7694 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.6243, allocations: 1.625 kB / 0.7694 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002791/0.6271, allocations: 1.008 MB / 0.7703 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.6272, allocations: 6.938 kB / 0.7703 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.6272, allocations: 5.188 kB / 0.7703 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.6284, allocations: 305.2 kB / 0.7706 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.6289, allocations: 128 kB / 0.7708 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.6302, allocations: 0.9016 MB / 0.7716 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6315, allocations: 154.4 kB / 0.7718 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.6316, allocations: 34.2 kB / 0.7718 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00121/0.6328, allocations: 0.5093 MB / 0.7723 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009379/0.6337, allocations: 0.5243 MB / 0.7728 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00145/0.6352, allocations: 0.709 MB / 0.7735 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.6352, allocations: 3.125 kB / 0.7735 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002422/0.6376, allocations: 1.006 MB / 0.7745 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6377, allocations: 8.531 kB / 0.7745 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6377, allocations: 4.719 kB / 0.7745 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009644/0.6387, allocations: 296.5 kB / 0.7748 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.6392, allocations: 130.6 kB / 0.7749 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.6403, allocations: 0.8924 MB / 0.7758 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.6415, allocations: 136.2 kB / 0.7759 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.6416, allocations: 33.91 kB / 0.776 GB, free: 13.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002171/0.6419, allocations: 225.1 kB / 0.7762 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.642, allocations: 110.8 kB / 0.7763 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.6442, allocations: 0.9171 MB / 0.7772 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.6442, allocations: 6.703 kB / 0.7772 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6442, allocations: 1.281 kB / 0.7772 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.6446, allocations: 261.3 kB / 0.7774 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.6448, allocations: 7.781 kB / 0.7774 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.6455, allocations: 72.42 kB / 0.7775 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.6456, allocations: 30.8 kB / 0.7775 GB, free: 13.35 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.002473/0.648, allocations: 0.7555 MB / 0.7783 GB, free: 13.23 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Chillers.Examples.Carnot_TEva could not be translated