Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001143, allocations: 113.4 kB / 16.42 MB, free: 6.508 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.001272/0.001272, 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7817/0.7817, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 62.91 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06495/0.2183, allocations: 61.18 MB / 0.725 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.2366, allocations: 11.99 MB / 0.7368 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.239, allocations: 59.62 kB / 0.7368 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.2412, allocations: 0.6986 MB / 0.7375 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.2467, allocations: 2.064 MB / 0.7395 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.2498, allocations: 1.221 MB / 0.7407 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003986/0.2538, allocations: 3.086 MB / 0.7437 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.2555, allocations: 1.131 MB / 0.7448 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.2586, allocations: 1.359 MB / 0.7461 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.2601, allocations: 0.9218 MB / 0.747 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.2604, allocations: 120 kB / 0.7472 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.2633, allocations: 1.454 MB / 0.7486 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3616/0.6249, allocations: 295 kB / 0.7489 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.6261, allocations: 0.6999 MB / 0.7495 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004251/0.6304, allocations: 2.353 MB / 0.7518 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6304, allocations: 0 / 0.7518 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6304, allocations: 0 / 0.7518 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.368e-05/0.6304, allocations: 3.375 kB / 0.7518 GB, free: 23.31 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.003444/0.6339, allocations: 1.785 MB / 0.7536 GB, free: 22.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.6339, allocations: 12.38 kB / 0.7536 GB, free: 22.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.6366, allocations: 467.3 kB / 0.754 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.6386, allocations: 1.184 MB / 0.7552 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.6387, allocations: 60.34 kB / 0.7553 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.6388, allocations: 83.62 kB / 0.7553 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.641, allocations: 0.9972 MB / 0.7563 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.641, allocations: 0.6562 kB / 0.7563 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.6411, allocations: 31.81 kB / 0.7563 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.6411, allocations: 19.14 kB / 0.7564 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.6437, allocations: 0.9365 MB / 0.7573 GB, free: 21.74 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.006224/0.65, allocations: 4.665 MB / 0.7618 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/0.6544, allocations: 0.9894 MB / 0.7628 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.6554, allocations: 410.4 kB / 0.7632 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/0.6562, allocations: 1.017 MB / 0.7642 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.6562, allocations: 40.5 kB / 0.7642 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.6562, allocations: 0 / 0.7642 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007754/0.664, allocations: 1.91 MB / 0.7661 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.664, allocations: 57.88 kB / 0.7661 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.6653, allocations: 0.9447 MB / 0.7671 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/0.6654, allocations: 42.89 kB / 0.7671 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.6657, allocations: 0.5166 MB / 0.7676 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.6659, allocations: 190.9 kB / 0.7678 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.6661, allocations: 130.6 kB / 0.7679 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.6662, allocations: 334.5 kB / 0.7682 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.6672, allocations: 352.8 kB / 0.7686 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.6683, allocations: 0.5033 MB / 0.7691 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.6704, allocations: 0.756 MB / 0.7698 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6704, allocations: 1.062 kB / 0.7698 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002808/0.6732, allocations: 1.057 MB / 0.7708 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6732, allocations: 7.156 kB / 0.7708 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6732, allocations: 5.375 kB / 0.7708 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.6744, allocations: 294.8 kB / 0.7711 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.675, allocations: 140.7 kB / 0.7713 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.6763, allocations: 0.8898 MB / 0.7721 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.6774, allocations: 127.4 kB / 0.7723 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.6775, allocations: 27.83 kB / 0.7723 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00134/0.6788, allocations: 0.5556 MB / 0.7728 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/0.6799, allocations: 0.4995 MB / 0.7733 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001906/0.6818, allocations: 0.7454 MB / 0.774 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.6818, allocations: 0 / 0.774 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002778/0.6846, allocations: 1.051 MB / 0.7751 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6846, allocations: 5.594 kB / 0.7751 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6846, allocations: 6.094 kB / 0.7751 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.6857, allocations: 294.6 kB / 0.7754 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.6863, allocations: 135.6 kB / 0.7755 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.6875, allocations: 0.8968 MB / 0.7764 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.6885, allocations: 114.2 kB / 0.7765 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.6886, allocations: 32.2 kB / 0.7765 GB, free: 14.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002144/0.6888, allocations: 210.3 kB / 0.7767 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.689, allocations: 118.6 kB / 0.7768 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/0.6922, allocations: 1.143 MB / 0.7779 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.6922, allocations: 3.922 kB / 0.7779 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6922, allocations: 0 / 0.7779 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.6926, allocations: 278.6 kB / 0.7782 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.6928, allocations: 9.625 kB / 0.7782 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.6936, allocations: 76.47 kB / 0.7783 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.6937, allocations: 36.06 kB / 0.7783 GB, free: 14.34 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.003062/0.6967, allocations: 0.8809 MB / 0.7792 GB, free: 14.21 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated