Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.693/4.693, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002474/0.002474, allocations: 356.9 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.223/4.223, allocations: 410.7 MB / 1.113 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001833/0.001833, allocations: 175.8 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004928, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7533/0.7539, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06354/0.8175, allocations: 56.53 MB / 1.517 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.8357, allocations: 10.97 MB / 1.527 GB, free: 217 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.838, allocations: 51.62 kB / 1.527 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.8406, allocations: 0.58 MB / 1.528 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00767/0.8484, allocations: 1.972 MB / 1.53 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005536/0.8539, allocations: 1.318 MB / 1.531 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.8593, allocations: 3.407 MB / 1.534 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.8613, allocations: 0.8134 MB / 1.535 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.8636, allocations: 1.006 MB / 1.536 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.865, allocations: 0.8134 MB / 1.537 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.8652, allocations: 44 kB / 1.537 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.8679, allocations: 0.9274 MB / 1.538 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.8682, allocations: 206.9 kB / 1.538 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.8686, allocations: 281.1 kB / 1.538 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.8711, allocations: 1.605 MB / 1.54 GB, free: 204 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8711, allocations: 0.5938 kB / 1.54 GB, free: 204 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8711, allocations: 1.344 kB / 1.54 GB, free: 204 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.8711, allocations: 0 / 1.54 GB, free: 204 MB / 0.8542 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.003617/0.8748, allocations: 1.498 MB / 1.541 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8748, allocations: 16.09 kB / 1.541 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.879, allocations: 0.5131 MB / 1.542 GB, free: 202 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.8819, allocations: 1.111 MB / 1.543 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005987/0.8825, allocations: 129.9 kB / 1.543 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.8827, allocations: 84 kB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.8859, allocations: 1.025 MB / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.8859, allocations: 0 / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.886, allocations: 32 kB / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.8861, allocations: 20 kB / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004273/0.8904, allocations: 1.007 MB / 1.545 GB, free: 198.5 MB / 0.8542 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.008034/0.8984, allocations: 4.709 MB / 1.55 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007168/0.9056, allocations: 1.126 MB / 1.551 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.9075, allocations: 445.9 kB / 1.551 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.9086, allocations: 1.029 MB / 1.552 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.9086, allocations: 42.94 kB / 1.552 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=53): time 3.226e-06/0.9086, allocations: 0 / 1.552 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=53): time 0.01704/0.9257, allocations: 2.494 MB / 1.555 GB, free: 188 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.9258, allocations: 59.84 kB / 1.555 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.9273, allocations: 0.9238 MB / 1.556 GB, free: 187 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.9274, allocations: 41.7 kB / 1.556 GB, free: 187 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.9278, allocations: 0.5079 MB / 1.556 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.928, allocations: 177.4 kB / 1.557 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.9281, allocations: 12 kB / 1.557 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.9282, allocations: 326 kB / 1.557 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.93, allocations: 376.9 kB / 1.557 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.9319, allocations: 0.5395 MB / 1.558 GB, free: 185 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.9337, allocations: 405.9 kB / 1.558 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9337, allocations: 0 / 1.558 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004813/0.9385, allocations: 1.135 MB / 1.559 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/0.9386, allocations: 156.4 kB / 1.559 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.9387, allocations: 10.58 kB / 1.559 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.9407, allocations: 322.2 kB / 1.56 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.9418, allocations: 147.8 kB / 1.56 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.944, allocations: 0.9418 MB / 1.561 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.946, allocations: 174.8 kB / 1.561 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.9461, allocations: 31.98 kB / 1.561 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.9462, allocations: 4 kB / 1.561 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004464/0.9506, allocations: 1.001 MB / 1.562 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9506, allocations: 3.984 kB / 1.562 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.9524, allocations: 326.2 kB / 1.562 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.9536, allocations: 147.8 kB / 1.562 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.9557, allocations: 0.9231 MB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.9576, allocations: 171.4 kB / 1.563 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-05/0.9578, allocations: 35.62 kB / 1.563 GB, free: 179 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006322/0.9584, allocations: 345 kB / 1.564 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.9586, allocations: 110.7 kB / 1.564 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00763/0.9662, allocations: 1.449 MB / 1.565 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.9663, allocations: 0 / 1.565 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.9663, allocations: 3.938 kB / 1.565 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.9669, allocations: 291.5 kB / 1.566 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.9671, allocations: 4 kB / 1.566 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.9687, allocations: 131.7 kB / 1.566 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.9689, allocations: 32.52 kB / 1.566 GB, free: 176.6 MB / 0.8542 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.005917/0.9748, allocations: 1.012 MB / 1.567 GB, free: 175.6 MB / 0.8542 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.