Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001671/0.001671, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8184/0.8184, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.58 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1881, allocations: 80.91 MB / 0.6653 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06831/0.2565, allocations: 61.2 MB / 0.7251 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.275, allocations: 11.98 MB / 0.7368 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.2776, allocations: 63.56 kB / 0.7368 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.28, allocations: 0.6948 MB / 0.7375 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006408/0.2865, allocations: 2.064 MB / 0.7395 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.29, allocations: 1.213 MB / 0.7407 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005024/0.2951, allocations: 3.094 MB / 0.7437 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.2968, allocations: 1.131 MB / 0.7448 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.3002, allocations: 1.357 MB / 0.7462 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.3017, allocations: 0.9256 MB / 0.7471 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.3019, allocations: 120 kB / 0.7472 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.3049, allocations: 1.439 MB / 0.7486 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.3052, allocations: 298.9 kB / 0.7489 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4716/0.7768, allocations: 0.6946 MB / 0.7496 GB, free: 23.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.7827, allocations: 2.344 MB / 0.7518 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7827, allocations: 0 / 0.7518 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7827, allocations: 0 / 0.7518 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.719e-05/0.7828, allocations: 0 / 0.7518 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003814/0.7866, allocations: 1.782 MB / 0.7536 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.7867, allocations: 11.06 kB / 0.7536 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.7892, allocations: 466.6 kB / 0.754 GB, free: 22.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.7917, allocations: 1.182 MB / 0.7552 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.7918, allocations: 69 kB / 0.7553 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7919, allocations: 79.44 kB / 0.7553 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.7943, allocations: 1.002 MB / 0.7563 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.7944, allocations: 0.75 kB / 0.7563 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.7945, allocations: 36.08 kB / 0.7563 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.7945, allocations: 18.94 kB / 0.7564 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.7972, allocations: 0.9389 MB / 0.7573 GB, free: 21.62 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.007138/0.8043, allocations: 4.675 MB / 0.7618 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/0.8086, allocations: 0.9917 MB / 0.7628 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.8097, allocations: 412.1 kB / 0.7632 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008655/0.8106, allocations: 1.017 MB / 0.7642 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.8106, allocations: 38.78 kB / 0.7642 GB, free: 18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.945e-06/0.8106, allocations: 0 / 0.7642 GB, free: 18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009474/0.8201, allocations: 2.169 MB / 0.7664 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.8202, allocations: 58.53 kB / 0.7664 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.8219, allocations: 0.9494 MB / 0.7673 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.822, allocations: 41.11 kB / 0.7674 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.8224, allocations: 0.5005 MB / 0.7679 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.8226, allocations: 195.6 kB / 0.7681 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.8228, allocations: 135 kB / 0.7682 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.8229, allocations: 326.5 kB / 0.7685 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009994/0.8239, allocations: 358.6 kB / 0.7688 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.825, allocations: 0.5084 MB / 0.7693 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.8269, allocations: 0.7544 MB / 0.7701 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.827, allocations: 5.094 kB / 0.7701 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002945/0.8299, allocations: 1.061 MB / 0.7711 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.83, allocations: 11.62 kB / 0.7711 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.83, allocations: 2.25 kB / 0.7711 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.8312, allocations: 302.8 kB / 0.7714 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.8318, allocations: 135.2 kB / 0.7715 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.8331, allocations: 0.8965 MB / 0.7724 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.8344, allocations: 122.3 kB / 0.7725 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/0.8345, allocations: 35.64 kB / 0.7726 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001462/0.836, allocations: 0.5503 MB / 0.7731 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/0.8371, allocations: 0.5134 MB / 0.7736 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001822/0.8389, allocations: 0.7421 MB / 0.7743 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.8389, allocations: 0.9062 kB / 0.7743 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002968/0.8419, allocations: 1.054 MB / 0.7754 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.8419, allocations: 8.703 kB / 0.7754 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8419, allocations: 4.469 kB / 0.7754 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.843, allocations: 292.2 kB / 0.7756 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.8436, allocations: 135.7 kB / 0.7758 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.8448, allocations: 0.8936 MB / 0.7767 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.8461, allocations: 110.2 kB / 0.7768 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.8462, allocations: 29.64 kB / 0.7768 GB, free: 14.71 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.0002585/0.8465, allocations: 221.1 kB / 0.777 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.8467, allocations: 117.6 kB / 0.7771 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.8509, allocations: 1.307 MB / 0.7784 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.851, allocations: 3.609 kB / 0.7784 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.851, allocations: 0 / 0.7784 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/0.8516, allocations: 277.9 kB / 0.7787 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.8517, allocations: 14.97 kB / 0.7787 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/0.8525, allocations: 74.23 kB / 0.7787 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.8526, allocations: 35.39 kB / 0.7788 GB, free: 14.19 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.003048/0.8557, allocations: 0.8872 MB / 0.7796 GB, free: 14.05 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow could not be translated