Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 113.5 kB / 17.09 MB, free: 5.957 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.001885/0.001885, 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.377/1.377, 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.7712/0.7712, allocations: 126.1 MB / 417.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 66.91 kB / 0.5738 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 78.7 MB / 0.6506 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06318/0.2023, allocations: 61.24 MB / 0.7104 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.2195, allocations: 12 MB / 0.7221 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.2219, allocations: 59.62 kB / 0.7222 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.2242, allocations: 0.6947 MB / 0.7229 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.2298, allocations: 2.082 MB / 0.7249 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.2329, allocations: 1.212 MB / 0.7261 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004438/0.2374, allocations: 3.101 MB / 0.7291 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.2394, allocations: 1.108 MB / 0.7302 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.2431, allocations: 1.381 MB / 0.7316 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.245, allocations: 0.9022 MB / 0.7324 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.2454, allocations: 116 kB / 0.7325 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.2489, allocations: 1.439 MB / 0.734 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.2495, allocations: 298.8 kB / 0.7342 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.2507, allocations: 0.6997 MB / 0.7349 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.2549, allocations: 2.312 MB / 0.7372 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2549, allocations: 0 / 0.7372 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2549, allocations: 0 / 0.7372 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.231e-05/0.255, allocations: 4 kB / 0.7372 GB, free: 11.1 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.003612/0.2586, allocations: 1.802 MB / 0.7389 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2587, allocations: 8.031 kB / 0.7389 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.2609, allocations: 419.4 kB / 0.7393 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.2632, allocations: 1.168 MB / 0.7405 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.2632, allocations: 66 kB / 0.7406 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.2634, allocations: 80 kB / 0.7406 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.2655, allocations: 1.022 MB / 0.7416 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2655, allocations: 7.938 kB / 0.7416 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/0.2656, allocations: 32 kB / 0.7417 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2656, allocations: 23.94 kB / 0.7417 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.268, allocations: 0.8859 MB / 0.7426 GB, free: 5.422 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.3431/0.6111, allocations: 5.24 MB / 0.7477 GB, free: 93.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.6147, allocations: 0.7894 MB / 0.7484 GB, free: 93.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007961/0.6155, allocations: 314.5 kB / 0.7487 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.616, allocations: 0.9024 MB / 0.7496 GB, free: 92.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.616, allocations: 37 kB / 0.7497 GB, free: 92.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.394e-06/0.616, allocations: 1.125 kB / 0.7497 GB, free: 92.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008381/0.6244, allocations: 1.903 MB / 0.7515 GB, free: 92.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.6244, allocations: 55.12 kB / 0.7516 GB, free: 92.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.6261, allocations: 1.077 MB / 0.7526 GB, free: 92.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.6262, allocations: 40.61 kB / 0.7527 GB, free: 92.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.6266, allocations: 0.5483 MB / 0.7532 GB, free: 92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.6267, allocations: 164 kB / 0.7534 GB, free: 91.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.6269, allocations: 138.7 kB / 0.7535 GB, free: 91.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.627, allocations: 332.4 kB / 0.7538 GB, free: 91.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009909/0.628, allocations: 322.8 kB / 0.7541 GB, free: 91.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6291, allocations: 0.5471 MB / 0.7546 GB, free: 91.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/0.6311, allocations: 0.7499 MB / 0.7554 GB, free: 90.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.6311, allocations: 4.656 kB / 0.7554 GB, free: 90.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004315/0.6354, allocations: 1.176 MB / 0.7565 GB, free: 90.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6355, allocations: 6.906 kB / 0.7565 GB, free: 90.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.6355, allocations: 6.344 kB / 0.7565 GB, free: 90.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.6368, allocations: 307.4 kB / 0.7568 GB, free: 90.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.6375, allocations: 137.3 kB / 0.757 GB, free: 90.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.6388, allocations: 0.9013 MB / 0.7578 GB, free: 89.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.6401, allocations: 157.9 kB / 0.758 GB, free: 89.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.6401, allocations: 34.69 kB / 0.758 GB, free: 89.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001205/0.6414, allocations: 0.5234 MB / 0.7585 GB, free: 89.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001034/0.6424, allocations: 0.5554 MB / 0.7591 GB, free: 88.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/0.6441, allocations: 0.7385 MB / 0.7598 GB, free: 88.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/0.6441, allocations: 1.188 kB / 0.7598 GB, free: 88.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003501/0.6476, allocations: 1.163 MB / 0.7609 GB, free: 88.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6476, allocations: 12.78 kB / 0.761 GB, free: 88.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6477, allocations: 4.812 kB / 0.761 GB, free: 88.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.6488, allocations: 291 kB / 0.7612 GB, free: 88.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.6495, allocations: 137.9 kB / 0.7614 GB, free: 88.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.6508, allocations: 0.9052 MB / 0.7623 GB, free: 87.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.652, allocations: 138.1 kB / 0.7624 GB, free: 87.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.6521, allocations: 29.69 kB / 0.7624 GB, free: 87.37 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 (58): * Single equations (assignments): 57 * 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.0002073/0.6523, allocations: 227 kB / 0.7626 GB, free: 87.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.6525, allocations: 117.8 kB / 0.7627 GB, free: 87.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.6563, allocations: 1.124 MB / 0.7638 GB, free: 86.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.6563, allocations: 3.25 kB / 0.7638 GB, free: 86.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.6563, allocations: 0.625 kB / 0.7638 GB, free: 86.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.6567, allocations: 267.8 kB / 0.7641 GB, free: 86.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.6568, allocations: 12.08 kB / 0.7641 GB, free: 86.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/0.6576, allocations: 74.81 kB / 0.7642 GB, free: 86.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.6578, allocations: 30.52 kB / 0.7642 GB, free: 86.51 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.002712/0.6605, allocations: 0.7891 MB / 0.765 GB, free: 86.26 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature could not be translated