Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 113.8 kB / 17.09 MB, free: 6.008 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.001648/0.001648, allocations: 190.8 kB / 18.03 MB, free: 5.086 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.443/1.443, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8023/0.8023, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 73.77 kB / 0.5737 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1492, allocations: 78.69 MB / 0.6506 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06275/0.212, allocations: 61.16 MB / 0.7103 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.2289, allocations: 11.98 MB / 0.722 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.2313, allocations: 59.62 kB / 0.7221 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.2335, allocations: 0.6947 MB / 0.7228 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006347/0.2399, allocations: 2.076 MB / 0.7248 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.2435, allocations: 1.21 MB / 0.726 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006208/0.2497, allocations: 3.083 MB / 0.729 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.2519, allocations: 1.107 MB / 0.7301 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.2559, allocations: 1.36 MB / 0.7314 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.2578, allocations: 0.8924 MB / 0.7323 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/0.2582, allocations: 120 kB / 0.7324 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.2616, allocations: 1.439 MB / 0.7338 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004843/0.2621, allocations: 298.7 kB / 0.7341 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.2634, allocations: 0.6842 MB / 0.7347 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00455/0.268, allocations: 2.297 MB / 0.737 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.268, allocations: 4 kB / 0.737 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.268, allocations: 0 / 0.737 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.95e-05/0.2681, allocations: 0 / 0.737 GB, free: 11.3 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004005/0.2721, allocations: 1.775 MB / 0.7387 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2722, allocations: 8.031 kB / 0.7387 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.2745, allocations: 423.3 kB / 0.7391 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.2771, allocations: 1.164 MB / 0.7403 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.2772, allocations: 58 kB / 0.7403 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.2774, allocations: 88 kB / 0.7404 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.2795, allocations: 0.9898 MB / 0.7414 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.2795, allocations: 7.938 kB / 0.7414 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.2796, allocations: 32 kB / 0.7414 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.2797, allocations: 20 kB / 0.7414 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.282, allocations: 0.8663 MB / 0.7423 GB, free: 5.703 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.007698/0.2897, allocations: 5.228 MB / 0.7474 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3603/0.65, allocations: 0.7801 MB / 0.7481 GB, free: 95.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.6508, allocations: 296.8 kB / 0.7484 GB, free: 95.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.6513, allocations: 0.9105 MB / 0.7493 GB, free: 94.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.6513, allocations: 37.8 kB / 0.7493 GB, free: 94.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/0.6513, allocations: 0.9375 kB / 0.7493 GB, free: 94.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007987/0.6593, allocations: 1.85 MB / 0.7511 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.6593, allocations: 59.56 kB / 0.7512 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.661, allocations: 1.07 MB / 0.7523 GB, free: 93.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.6611, allocations: 39.58 kB / 0.7523 GB, free: 93.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.6615, allocations: 0.5406 MB / 0.7528 GB, free: 92.99 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6616, allocations: 157.6 kB / 0.753 GB, free: 92.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.6618, allocations: 143 kB / 0.7531 GB, free: 92.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.6619, allocations: 329.9 kB / 0.7534 GB, free: 92.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/0.6628, allocations: 308.6 kB / 0.7537 GB, free: 92.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.6639, allocations: 0.5322 MB / 0.7542 GB, free: 92.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.6657, allocations: 0.7133 MB / 0.7549 GB, free: 91.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.6657, allocations: 2.719 kB / 0.7549 GB, free: 91.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003129/0.6689, allocations: 1.009 MB / 0.7559 GB, free: 91.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.6689, allocations: 7.906 kB / 0.7559 GB, free: 91.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.6689, allocations: 11.72 kB / 0.7559 GB, free: 91.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.6704, allocations: 306.2 kB / 0.7562 GB, free: 91.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.671, allocations: 127.5 kB / 0.7563 GB, free: 91.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.6724, allocations: 0.904 MB / 0.7572 GB, free: 90.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.6736, allocations: 159.8 kB / 0.7574 GB, free: 90.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/0.6737, allocations: 30.83 kB / 0.7574 GB, free: 90.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001221/0.675, allocations: 0.5102 MB / 0.7579 GB, free: 90.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009785/0.676, allocations: 0.5409 MB / 0.7584 GB, free: 89.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001514/0.6775, allocations: 0.7077 MB / 0.7591 GB, free: 89.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.6775, allocations: 2.125 kB / 0.7591 GB, free: 89.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002642/0.6801, allocations: 1.016 MB / 0.7601 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6802, allocations: 7.078 kB / 0.7601 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6802, allocations: 6.25 kB / 0.7601 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.6813, allocations: 293.7 kB / 0.7604 GB, free: 89.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.6819, allocations: 131.4 kB / 0.7605 GB, free: 89.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.6831, allocations: 0.8939 MB / 0.7614 GB, free: 88.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.6844, allocations: 136.5 kB / 0.7615 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.6845, allocations: 30.86 kB / 0.7616 GB, free: 88.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002552/0.6848, allocations: 223 kB / 0.7618 GB, free: 88.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.685, allocations: 121.1 kB / 0.7619 GB, free: 88.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.6887, allocations: 1.086 MB / 0.763 GB, free: 87.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6887, allocations: 7.578 kB / 0.763 GB, free: 87.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6887, allocations: 0.7031 kB / 0.763 GB, free: 87.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.6892, allocations: 262 kB / 0.7632 GB, free: 87.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.6893, allocations: 10.78 kB / 0.7632 GB, free: 87.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/0.6901, allocations: 70.72 kB / 0.7633 GB, free: 87.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.6902, allocations: 32.58 kB / 0.7633 GB, free: 87.54 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.002717/0.6929, allocations: 0.759 MB / 0.7641 GB, free: 87.29 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon could not be translated