Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.852/4.852, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 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.002424/0.002423, allocations: 357.3 kB / 0.6447 GB, free: 185.6 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.08/4.08, allocations: 410.7 MB / 1.113 GB, free: 5.973 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.001846/0.001846, allocations: 179.7 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005042, allocations: 16 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.7047, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06243/0.7672, allocations: 56.51 MB / 1.517 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.7852, allocations: 10.96 MB / 1.527 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.7872, allocations: 51.62 kB / 1.527 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.7894, allocations: 0.5865 MB / 1.528 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007068/0.7965, allocations: 1.965 MB / 1.53 GB, free: 214.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005124/0.8016, allocations: 1.325 MB / 1.531 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.8064, allocations: 3.402 MB / 1.534 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.8084, allocations: 0.7872 MB / 1.535 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.8124, allocations: 1.016 MB / 1.536 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.8149, allocations: 0.807 MB / 1.537 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.8152, allocations: 44 kB / 1.537 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004257/0.8195, allocations: 0.9274 MB / 1.538 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000499/0.82, allocations: 202.1 kB / 1.538 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.8207, allocations: 289 kB / 1.538 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.8241, allocations: 1.594 MB / 1.54 GB, free: 204 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8241, allocations: 0 / 1.54 GB, free: 204 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8242, allocations: 0 / 1.54 GB, free: 204 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.8242, 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004595/0.8288, allocations: 1.493 MB / 1.541 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.8289, allocations: 15.62 kB / 1.541 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.8337, allocations: 469.9 kB / 1.542 GB, free: 202 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/0.8383, allocations: 1.097 MB / 1.543 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009227/0.8393, allocations: 125.9 kB / 1.543 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.8396, allocations: 84 kB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/0.8439, allocations: 0.9956 MB / 1.544 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.844, allocations: 7.922 kB / 1.544 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.8442, allocations: 32 kB / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.8442, allocations: 20 kB / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005963/0.8502, allocations: 0.9251 MB / 1.545 GB, free: 198.6 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.01292/0.8632, allocations: 4.615 MB / 1.55 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00964/0.8728, allocations: 0.9395 MB / 1.55 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.875, allocations: 345.7 kB / 1.551 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000825/0.8758, allocations: 0.9068 MB / 1.552 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.8759, allocations: 42.94 kB / 1.552 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 4.549e-06/0.8759, allocations: 4 kB / 1.552 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47): time 0.01999/0.8959, allocations: 1.994 MB / 1.554 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.896, allocations: 63.78 kB / 1.554 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.8994, allocations: 1.047 MB / 1.555 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.8996, allocations: 41.7 kB / 1.555 GB, free: 188 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.9004, allocations: 0.5196 MB / 1.555 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.9006, allocations: 165.7 kB / 1.555 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.9008, allocations: 11.94 kB / 1.555 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9009, allocations: 329.9 kB / 1.556 GB, free: 187 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.9034, allocations: 332.9 kB / 1.556 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.9061, allocations: 0.5367 MB / 1.557 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/0.9087, allocations: 368.6 kB / 1.557 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.9087, allocations: 4 kB / 1.557 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.009661/0.9184, allocations: 1.225 MB / 1.558 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.9186, allocations: 205.2 kB / 1.558 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.9187, allocations: 4 kB / 1.558 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003161/0.9218, allocations: 330.9 kB / 1.559 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.9232, allocations: 135.8 kB / 1.559 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.9255, allocations: 0.9425 MB / 1.56 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.928, allocations: 207.1 kB / 1.56 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.9282, allocations: 28.69 kB / 1.56 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.9282, allocations: 4 kB / 1.56 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007117/0.9353, allocations: 1.084 MB / 1.561 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.9354, allocations: 4 kB / 1.561 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002684/0.9381, allocations: 326.7 kB / 1.561 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.9398, allocations: 139.8 kB / 1.561 GB, free: 181 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.9432, allocations: 0.9231 MB / 1.562 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.9466, allocations: 179.3 kB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.9469, allocations: 27.98 kB / 1.563 GB, free: 179.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001253/0.9482, allocations: 353.5 kB / 1.563 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/0.9487, allocations: 114.5 kB / 1.563 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.959, allocations: 1.236 MB / 1.564 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/0.9591, allocations: 3.984 kB / 1.564 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.9591, allocations: 0 / 1.564 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.9601, allocations: 279.4 kB / 1.564 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/0.9605, allocations: 15.92 kB / 1.564 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/0.9626, allocations: 116.5 kB / 1.565 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.9628, allocations: 32.34 kB / 1.565 GB, free: 177.7 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.0066/0.9694, allocations: 0.9025 MB / 1.566 GB, free: 176.8 MB / 0.8542 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.