Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001153/0.001153, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.00116/0.00116, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8326/0.8326, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 64.91 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1605, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05903/0.2196, allocations: 61.19 MB / 0.7201 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.2361, allocations: 11.98 MB / 0.7318 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.2382, allocations: 67.5 kB / 0.7319 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.24, allocations: 0.6948 MB / 0.7325 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005291/0.2453, allocations: 2.064 MB / 0.7346 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.2483, allocations: 1.217 MB / 0.7358 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003954/0.2522, allocations: 3.083 MB / 0.7388 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.2541, allocations: 1.131 MB / 0.7399 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.2575, allocations: 1.366 MB / 0.7412 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.2593, allocations: 0.9178 MB / 0.7421 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004026/0.2597, allocations: 120 kB / 0.7422 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.2634, allocations: 1.439 MB / 0.7436 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005402/0.2639, allocations: 302.8 kB / 0.7439 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.2653, allocations: 0.7036 MB / 0.7446 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.2696, allocations: 2.329 MB / 0.7469 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2696, allocations: 0 / 0.7469 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.198e-06/0.2697, allocations: 0 / 0.7469 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.826e-05/0.2697, allocations: 3.938 kB / 0.7469 GB, free: 1.379 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.3584/0.6281, allocations: 1.726 MB / 0.7486 GB, free: 86.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.6282, allocations: 9.922 kB / 0.7486 GB, free: 86.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.631, allocations: 461.6 kB / 0.749 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.6334, allocations: 1.166 MB / 0.7501 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.6334, allocations: 63.94 kB / 0.7502 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.6336, allocations: 84.59 kB / 0.7503 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.6358, allocations: 1.005 MB / 0.7513 GB, free: 85.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.6358, allocations: 3.938 kB / 0.7513 GB, free: 85.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.6359, allocations: 31.97 kB / 0.7513 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.636, allocations: 18.52 kB / 0.7513 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.6385, allocations: 0.9437 MB / 0.7522 GB, free: 85.41 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.006284/0.6448, allocations: 4.664 MB / 0.7568 GB, free: 82.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/0.6492, allocations: 0.984 MB / 0.7578 GB, free: 81.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.6505, allocations: 410.7 kB / 0.7581 GB, free: 81.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008841/0.6514, allocations: 1.019 MB / 0.7591 GB, free: 80.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.6514, allocations: 37.22 kB / 0.7592 GB, free: 80.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.767e-06/0.6514, allocations: 0 / 0.7592 GB, free: 80.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.01035/0.6618, allocations: 2.17 MB / 0.7613 GB, free: 79.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.6618, allocations: 57.81 kB / 0.7614 GB, free: 79.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.6632, allocations: 0.9468 MB / 0.7623 GB, free: 79.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.6633, allocations: 38.83 kB / 0.7623 GB, free: 79.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.6636, allocations: 0.498 MB / 0.7628 GB, free: 79.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.6638, allocations: 188 kB / 0.763 GB, free: 78.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.664, allocations: 125.7 kB / 0.7631 GB, free: 78.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.6641, allocations: 326.3 kB / 0.7634 GB, free: 78.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.6651, allocations: 361.7 kB / 0.7638 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.6662, allocations: 0.5195 MB / 0.7643 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.6682, allocations: 0.7515 MB / 0.765 GB, free: 77.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6682, allocations: 8.953 kB / 0.765 GB, free: 77.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002926/0.6712, allocations: 1.057 MB / 0.766 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6712, allocations: 5.75 kB / 0.766 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6712, allocations: 2.219 kB / 0.766 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.6724, allocations: 304.3 kB / 0.7663 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.6731, allocations: 127.8 kB / 0.7665 GB, free: 77.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.6744, allocations: 0.8956 MB / 0.7673 GB, free: 76.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6756, allocations: 125.3 kB / 0.7675 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.6757, allocations: 35.09 kB / 0.7675 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001352/0.677, allocations: 0.5522 MB / 0.768 GB, free: 76.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.6781, allocations: 0.5147 MB / 0.7685 GB, free: 76.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001898/0.68, allocations: 0.7396 MB / 0.7692 GB, free: 75.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.536e-06/0.68, allocations: 1.062 kB / 0.7692 GB, free: 75.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0029/0.6829, allocations: 1.049 MB / 0.7703 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.683, allocations: 11.77 kB / 0.7703 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.683, allocations: 2.375 kB / 0.7703 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/0.6839, allocations: 292.8 kB / 0.7706 GB, free: 75.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.6846, allocations: 136.2 kB / 0.7707 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.6858, allocations: 0.8872 MB / 0.7716 GB, free: 74.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.6868, allocations: 111.8 kB / 0.7717 GB, free: 74.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.6869, allocations: 35.02 kB / 0.7717 GB, free: 74.2 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.00023/0.6871, allocations: 216.8 kB / 0.7719 GB, free: 73.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.6873, allocations: 107.1 kB / 0.772 GB, free: 73.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.6916, allocations: 1.316 MB / 0.7733 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6916, allocations: 3.984 kB / 0.7733 GB, free: 73.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6916, allocations: 0 / 0.7733 GB, free: 73.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.692, allocations: 274.9 kB / 0.7736 GB, free: 72.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.6921, allocations: 10.84 kB / 0.7736 GB, free: 72.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/0.6929, allocations: 74.55 kB / 0.7736 GB, free: 72.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.693, allocations: 36.69 kB / 0.7737 GB, free: 72.91 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.003051/0.696, allocations: 0.8811 MB / 0.7745 GB, free: 72.46 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