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.001744/0.001744, allocations: 114.4 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.001966/0.001966, allocations: 188.2 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9188/0.9188, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 62.78 kB / 0.5863 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 80.91 MB / 0.6653 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07173/0.2472, allocations: 61.19 MB / 0.7251 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.2666, allocations: 11.98 MB / 0.7367 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.2691, allocations: 59.62 kB / 0.7368 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.2713, allocations: 0.7025 MB / 0.7375 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006528/0.2779, allocations: 2.07 MB / 0.7395 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.2816, allocations: 1.216 MB / 0.7407 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005796/0.2874, allocations: 3.083 MB / 0.7437 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.2901, allocations: 1.128 MB / 0.7448 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/0.2944, allocations: 1.372 MB / 0.7462 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.2966, allocations: 0.914 MB / 0.747 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.297, allocations: 120 kB / 0.7472 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.3007, allocations: 1.447 MB / 0.7486 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005533/0.3012, allocations: 302.8 kB / 0.7489 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4918/0.793, allocations: 0.7001 MB / 0.7495 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005586/0.7987, allocations: 2.344 MB / 0.7518 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.7987, allocations: 0 / 0.7518 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7987, allocations: 4.875 kB / 0.7518 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.603e-05/0.7988, allocations: 3.094 kB / 0.7518 GB, free: 23.09 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.003897/0.8027, allocations: 1.787 MB / 0.7536 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.8028, allocations: 10.95 kB / 0.7536 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.8054, allocations: 466 kB / 0.754 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.8078, allocations: 1.189 MB / 0.7552 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.8079, allocations: 59.16 kB / 0.7553 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.808, allocations: 87.31 kB / 0.7553 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.8104, allocations: 1.001 MB / 0.7563 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.8105, allocations: 1.453 kB / 0.7563 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/0.8106, allocations: 34.22 kB / 0.7564 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.8106, allocations: 21.06 kB / 0.7564 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.8133, allocations: 0.9299 MB / 0.7573 GB, free: 21.51 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.0075/0.8209, allocations: 4.663 MB / 0.7618 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.8253, allocations: 0.991 MB / 0.7628 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.8264, allocations: 408.9 kB / 0.7632 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007894/0.8272, allocations: 1.019 MB / 0.7642 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.8272, allocations: 36.67 kB / 0.7642 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.266e-06/0.8272, allocations: 0 / 0.7642 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008087/0.8353, allocations: 1.911 MB / 0.7661 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.8354, allocations: 60.48 kB / 0.7661 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.8369, allocations: 0.9441 MB / 0.7671 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.837, allocations: 39.64 kB / 0.7671 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.8374, allocations: 0.5148 MB / 0.7676 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.8376, allocations: 192.5 kB / 0.7678 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.8379, allocations: 128.8 kB / 0.7679 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.838, allocations: 333.1 kB / 0.7682 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009989/0.839, allocations: 356.3 kB / 0.7686 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.8401, allocations: 0.504 MB / 0.7691 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.842, allocations: 0.7487 MB / 0.7698 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.842, allocations: 4.25 kB / 0.7698 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002858/0.8449, allocations: 1.058 MB / 0.7708 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8449, allocations: 6.344 kB / 0.7708 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.845, allocations: 2.906 kB / 0.7708 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.8462, allocations: 302.2 kB / 0.7711 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.8468, allocations: 138 kB / 0.7713 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.8481, allocations: 0.8893 MB / 0.7721 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.8493, allocations: 127.2 kB / 0.7723 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.8494, allocations: 31.23 kB / 0.7723 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001386/0.8508, allocations: 0.5538 MB / 0.7728 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001027/0.8518, allocations: 0.4985 MB / 0.7733 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001822/0.8536, allocations: 0.7471 MB / 0.774 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.8537, allocations: 1.094 kB / 0.774 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003077/0.8567, allocations: 1.051 MB / 0.7751 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.8568, allocations: 8.578 kB / 0.7751 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.8568, allocations: 6.438 kB / 0.7751 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.8578, allocations: 290.6 kB / 0.7754 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.8585, allocations: 131.3 kB / 0.7755 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.8597, allocations: 0.8928 MB / 0.7764 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.8609, allocations: 112 kB / 0.7765 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.861, allocations: 30.11 kB / 0.7765 GB, free: 14.62 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.0002352/0.8613, allocations: 217.5 kB / 0.7767 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.8615, allocations: 110.6 kB / 0.7768 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/0.8645, allocations: 1.144 MB / 0.7779 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.8645, allocations: 10.77 kB / 0.7779 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.8645, allocations: 4 kB / 0.7779 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/0.865, allocations: 275.7 kB / 0.7782 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.8652, allocations: 10.47 kB / 0.7782 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/0.866, allocations: 74.41 kB / 0.7783 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.8661, allocations: 38.94 kB / 0.7783 GB, free: 14.11 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.003165/0.8692, allocations: 0.8764 MB / 0.7792 GB, free: 13.98 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