Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 114.4 kB / 16.42 MB, free: 6.473 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.001061/0.001061, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.288/1.288, allocations: 222.9 MB / 241 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.7566/0.7566, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 70.11 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1482, allocations: 80.93 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.0593/0.2075, allocations: 61.21 MB / 0.7251 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.2243, allocations: 12 MB / 0.7368 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.2262, allocations: 55.69 kB / 0.7369 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.2282, allocations: 0.6947 MB / 0.7375 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.2344, allocations: 2.072 MB / 0.7396 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.2377, allocations: 1.212 MB / 0.7408 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004442/0.2422, allocations: 3.102 MB / 0.7438 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.244, allocations: 1.116 MB / 0.7449 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.2473, allocations: 1.375 MB / 0.7462 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.2492, allocations: 0.8983 MB / 0.7471 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.2495, allocations: 119.9 kB / 0.7472 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.2528, allocations: 1.45 MB / 0.7486 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3599/0.6127, allocations: 296.4 kB / 0.7489 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.6144, allocations: 0.7013 MB / 0.7496 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005166/0.6195, allocations: 2.322 MB / 0.7519 GB, free: 23.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6196, allocations: 1.125 kB / 0.7519 GB, free: 23.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6196, allocations: 0 / 0.7519 GB, free: 23.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.6196, allocations: 0 / 0.7519 GB, free: 23.8 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.0035/0.6231, allocations: 1.75 MB / 0.7536 GB, free: 22.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6232, allocations: 9.516 kB / 0.7536 GB, free: 22.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.6254, allocations: 416 kB / 0.754 GB, free: 22.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.6276, allocations: 1.17 MB / 0.7551 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.6276, allocations: 58.94 kB / 0.7552 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6278, allocations: 83.14 kB / 0.7553 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.6298, allocations: 1.016 MB / 0.7562 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6298, allocations: 10.2 kB / 0.7563 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.6299, allocations: 32.25 kB / 0.7563 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.6299, allocations: 19.91 kB / 0.7563 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.6324, allocations: 0.8762 MB / 0.7572 GB, free: 22.28 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.006559/0.639, allocations: 5.233 MB / 0.7623 GB, free: 19.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.6427, allocations: 0.7804 MB / 0.763 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/0.6435, allocations: 315.6 kB / 0.7633 GB, free: 19.13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.644, allocations: 0.8964 MB / 0.7642 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.644, allocations: 44.94 kB / 0.7643 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.776e-06/0.644, allocations: 3.812 kB / 0.7643 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.006263/0.6503, allocations: 1.603 MB / 0.7658 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.6503, allocations: 55.95 kB / 0.7659 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.6518, allocations: 1.083 MB / 0.7669 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.6519, allocations: 35.89 kB / 0.767 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.6522, allocations: 0.5411 MB / 0.7675 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.6523, allocations: 157.9 kB / 0.7676 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.6525, allocations: 131.7 kB / 0.7678 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.6526, allocations: 327.8 kB / 0.7681 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008856/0.6535, allocations: 319.6 kB / 0.7684 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.6545, allocations: 0.5464 MB / 0.7689 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.6561, allocations: 0.738 MB / 0.7696 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.6562, allocations: 1.406 kB / 0.7696 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002822/0.659, allocations: 1.04 MB / 0.7707 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.659, allocations: 6.469 kB / 0.7707 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.659, allocations: 5.469 kB / 0.7707 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.6603, allocations: 310.3 kB / 0.771 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.6609, allocations: 142.2 kB / 0.7711 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.6623, allocations: 0.9072 MB / 0.772 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.6636, allocations: 150.6 kB / 0.7721 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.6637, allocations: 38 kB / 0.7722 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.6649, allocations: 0.5204 MB / 0.7727 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/0.666, allocations: 0.5422 MB / 0.7732 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001593/0.6676, allocations: 0.7345 MB / 0.7739 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.6676, allocations: 3.516 kB / 0.7739 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002656/0.6702, allocations: 1.029 MB / 0.7749 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6703, allocations: 8.344 kB / 0.7749 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.6703, allocations: 8 kB / 0.7749 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.6713, allocations: 297.5 kB / 0.7752 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.6719, allocations: 136 kB / 0.7754 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.6732, allocations: 0.901 MB / 0.7762 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.6745, allocations: 132.7 kB / 0.7764 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.6746, allocations: 35.42 kB / 0.7764 GB, free: 14.46 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 (58): * Single equations (assignments): 57 * 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.0002496/0.6749, allocations: 222.8 kB / 0.7766 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.6751, allocations: 116.8 kB / 0.7767 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.6782, allocations: 1.078 MB / 0.7778 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.6782, allocations: 10.56 kB / 0.7778 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6782, allocations: 1.125 kB / 0.7778 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.6787, allocations: 262.5 kB / 0.778 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6789, allocations: 10.78 kB / 0.778 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.6797, allocations: 78.09 kB / 0.7781 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.6797, allocations: 27.83 kB / 0.7781 GB, free: 13.93 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.002702/0.6825, allocations: 0.7862 MB / 0.7789 GB, free: 13.8 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature could not be translated