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.001312/0.001312, allocations: 116.4 kB / 17.09 MB, free: 5.988 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.001299/0.001299, allocations: 197.5 kB / 18.03 MB, free: 5.062 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.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 71.17 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 76.17 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05647/0.1869, allocations: 61.21 MB / 0.6925 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.2027, allocations: 12.01 MB / 0.7043 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.2046, allocations: 59.62 kB / 0.7043 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2063, allocations: 0.6752 MB / 0.705 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.2117, allocations: 1.972 MB / 0.7069 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.2145, allocations: 1.213 MB / 0.7081 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003777/0.2183, allocations: 3.102 MB / 0.7111 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.2197, allocations: 1.116 MB / 0.7122 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.2223, allocations: 1.368 MB / 0.7136 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.2235, allocations: 0.9061 MB / 0.7144 GB, free: 436 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.2236, allocations: 116 kB / 0.7145 GB, free: 320 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.2261, allocations: 1.439 MB / 0.716 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.2263, allocations: 298.8 kB / 0.7162 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.2269, allocations: 0.6997 MB / 0.7169 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.2296, allocations: 2.302 MB / 0.7192 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2296, allocations: 0 / 0.7192 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.707e-06/0.2296, allocations: 0 / 0.7192 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.2296, allocations: 3.938 kB / 0.7192 GB, free: 11.56 MB / 0.5606 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.002696/0.2324, allocations: 1.748 MB / 0.7209 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2324, allocations: 16.02 kB / 0.7209 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.2345, allocations: 402.9 kB / 0.7213 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.2365, allocations: 1.171 MB / 0.7224 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.2366, allocations: 66 kB / 0.7225 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.2367, allocations: 84 kB / 0.7226 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.2387, allocations: 1.013 MB / 0.7236 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2387, allocations: 4 kB / 0.7236 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.2388, allocations: 36 kB / 0.7236 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.2389, allocations: 20 kB / 0.7236 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.2412, allocations: 0.8859 MB / 0.7245 GB, free: 5.953 MB / 0.5606 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.005888/0.2471, allocations: 5.243 MB / 0.7296 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.2504, allocations: 0.788 MB / 0.7304 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.2512, allocations: 320.5 kB / 0.7307 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.2518, allocations: 0.8986 MB / 0.7316 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2518, allocations: 42.5 kB / 0.7316 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.2518, allocations: 4 kB / 0.7316 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008316/0.2602, allocations: 1.891 MB / 0.7334 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.2602, allocations: 63.34 kB / 0.7335 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.2616, allocations: 1.076 MB / 0.7346 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.2617, allocations: 37.7 kB / 0.7346 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/0.2621, allocations: 0.5389 MB / 0.7351 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2623, allocations: 153.8 kB / 0.7353 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.2625, allocations: 138.2 kB / 0.7354 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2626, allocations: 330 kB / 0.7357 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009167/0.2636, allocations: 323.2 kB / 0.736 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2647, allocations: 0.5463 MB / 0.7365 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.2665, allocations: 0.7466 MB / 0.7373 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2665, allocations: 0 / 0.7373 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003674/0.2702, allocations: 1.176 MB / 0.7384 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2702, allocations: 11.94 kB / 0.7384 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2702, allocations: 4 kB / 0.7384 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.2714, allocations: 307.5 kB / 0.7387 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.272, allocations: 139.8 kB / 0.7389 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2734, allocations: 0.8957 MB / 0.7397 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.2746, allocations: 163.2 kB / 0.7399 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.2747, allocations: 35.97 kB / 0.7399 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001238/0.276, allocations: 0.5246 MB / 0.7404 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/0.2771, allocations: 0.5463 MB / 0.741 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001687/0.2788, allocations: 0.7376 MB / 0.7417 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.135e-06/0.2788, allocations: 0 / 0.7417 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003545/0.2823, allocations: 1.149 MB / 0.7428 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2824, allocations: 4 kB / 0.7428 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2824, allocations: 11.94 kB / 0.7428 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.2834, allocations: 296.7 kB / 0.7431 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.284, allocations: 139.8 kB / 0.7433 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.2853, allocations: 0.9021 MB / 0.7441 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.2866, allocations: 135.6 kB / 0.7443 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.2866, allocations: 31.98 kB / 0.7443 GB, free: 0.5508 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.0002181/0.2869, allocations: 216.1 kB / 0.7445 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.287, allocations: 122.5 kB / 0.7446 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2771/0.5641, allocations: 1.119 MB / 0.7457 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5642, allocations: 3.984 kB / 0.7457 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.5642, allocations: 1.562 kB / 0.7457 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.5647, allocations: 261.4 kB / 0.746 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5648, allocations: 6.25 kB / 0.746 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/0.5656, allocations: 82.45 kB / 0.746 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.5657, allocations: 30.53 kB / 0.7461 GB, free: 109.6 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.002737/0.5685, allocations: 0.7803 MB / 0.7468 GB, free: 109.5 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