Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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: 113.3 kB / 17.09 MB, free: 5.961 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.001246/0.001246, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7837/0.7837, allocations: 126.1 MB / 417.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.09 kB / 0.5737 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1559, allocations: 78.7 MB / 0.6506 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06375/0.2197, allocations: 61.19 MB / 0.7104 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.238, allocations: 11.99 MB / 0.7221 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.2403, allocations: 63.62 kB / 0.7221 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.2425, allocations: 0.6947 MB / 0.7228 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005703/0.2483, allocations: 2.067 MB / 0.7248 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.2514, allocations: 1.213 MB / 0.726 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004129/0.2555, allocations: 3.098 MB / 0.729 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.2573, allocations: 1.124 MB / 0.7301 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.2606, allocations: 1.359 MB / 0.7315 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.2622, allocations: 0.9178 MB / 0.7324 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.2625, allocations: 128 kB / 0.7325 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.2653, allocations: 1.439 MB / 0.7339 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.2657, allocations: 302.8 kB / 0.7342 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009432/0.2666, allocations: 0.6997 MB / 0.7349 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.2703, allocations: 2.316 MB / 0.7371 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2703, allocations: 4 kB / 0.7371 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.268e-06/0.2704, allocations: 4 kB / 0.7371 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.97e-05/0.2704, allocations: 3.938 kB / 0.7371 GB, free: 11.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.003384/0.2738, allocations: 1.779 MB / 0.7389 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2738, allocations: 12.03 kB / 0.7389 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/0.2764, allocations: 463.3 kB / 0.7393 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.2787, allocations: 1.184 MB / 0.7405 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.2787, allocations: 62 kB / 0.7405 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.2789, allocations: 84 kB / 0.7406 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.2811, allocations: 1.006 MB / 0.7416 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2811, allocations: 0 / 0.7416 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.2812, allocations: 32 kB / 0.7416 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.2812, allocations: 20 kB / 0.7416 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.2838, allocations: 0.9445 MB / 0.7426 GB, free: 5.465 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.006105/0.2899, allocations: 4.693 MB / 0.7471 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.294/0.5839, allocations: 0.983 MB / 0.7481 GB, free: 94.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.5853, allocations: 411.4 kB / 0.7485 GB, free: 94.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008716/0.5861, allocations: 1.02 MB / 0.7495 GB, free: 93.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.5862, allocations: 37.34 kB / 0.7495 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/0.5862, allocations: 0 / 0.7495 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009031/0.5952, allocations: 2.168 MB / 0.7516 GB, free: 93.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.5953, allocations: 57.58 kB / 0.7517 GB, free: 92.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5967, allocations: 0.9429 MB / 0.7526 GB, free: 92.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/0.5968, allocations: 37.83 kB / 0.7527 GB, free: 92.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.5972, allocations: 0.5036 MB / 0.7532 GB, free: 92.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.5973, allocations: 200.1 kB / 0.7533 GB, free: 92.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.5976, allocations: 125.2 kB / 0.7535 GB, free: 92.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.5977, allocations: 325.6 kB / 0.7538 GB, free: 91.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.5987, allocations: 359.1 kB / 0.7541 GB, free: 91.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.6, allocations: 0.5092 MB / 0.7546 GB, free: 91.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.6021, allocations: 0.7551 MB / 0.7553 GB, free: 91.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6021, allocations: 4.562 kB / 0.7554 GB, free: 91.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003094/0.6052, allocations: 1.063 MB / 0.7564 GB, free: 90.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6052, allocations: 14.16 kB / 0.7564 GB, free: 90.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6053, allocations: 5.938 kB / 0.7564 GB, free: 90.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.6066, allocations: 297.5 kB / 0.7567 GB, free: 90.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.6073, allocations: 136.5 kB / 0.7568 GB, free: 90.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.6087, allocations: 0.8946 MB / 0.7577 GB, free: 90.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.6097, allocations: 122.1 kB / 0.7578 GB, free: 90.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.6098, allocations: 33.94 kB / 0.7578 GB, free: 90.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00129/0.6111, allocations: 0.5541 MB / 0.7584 GB, free: 89.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/0.6121, allocations: 0.5106 MB / 0.7589 GB, free: 89.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001894/0.614, allocations: 0.7489 MB / 0.7596 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.614, allocations: 0.9688 kB / 0.7596 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002824/0.6169, allocations: 1.053 MB / 0.7606 GB, free: 88.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6169, allocations: 11.66 kB / 0.7607 GB, free: 88.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6169, allocations: 3.359 kB / 0.7607 GB, free: 88.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.618, allocations: 296.3 kB / 0.7609 GB, free: 88.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.6187, allocations: 132.7 kB / 0.7611 GB, free: 88.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.62, allocations: 0.8946 MB / 0.7619 GB, free: 88.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.621, allocations: 115.9 kB / 0.7621 GB, free: 88.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.6211, allocations: 31.41 kB / 0.7621 GB, free: 88.03 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.0002096/0.6213, allocations: 215.2 kB / 0.7623 GB, free: 87.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.6214, allocations: 121.4 kB / 0.7624 GB, free: 87.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.6259, allocations: 1.301 MB / 0.7637 GB, free: 87.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6259, allocations: 3.531 kB / 0.7637 GB, free: 87.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6259, allocations: 0 / 0.7637 GB, free: 87.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.6264, allocations: 279.5 kB / 0.7639 GB, free: 87.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.6265, allocations: 15.52 kB / 0.764 GB, free: 87.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/0.6273, allocations: 77.91 kB / 0.764 GB, free: 87.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6275, allocations: 33.16 kB / 0.7641 GB, free: 87.1 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.003235/0.6307, allocations: 0.8772 MB / 0.7649 GB, free: 86.83 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow could not be translated