Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 80.88 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 163.4 kB / 24.97 MB, free: 8.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9195/0.9195, allocations: 177.1 MB / 205.4 MB, free: 5.012 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.952/1.952, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.578e-05, allocations: 3.781 kB / 0.776 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.01921/0.01924, allocations: 17.91 MB / 0.7935 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.03145, allocations: 6.561 MB / 0.7999 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.03358, allocations: 80 kB / 0.7999 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.03486, allocations: 405.4 kB / 0.8003 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.03908, allocations: 1.461 MB / 0.8017 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.04192, allocations: 1.21 MB / 0.8029 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004209/0.04613, allocations: 3.025 MB / 0.8059 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.04757, allocations: 0.8936 MB / 0.8068 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.04951, allocations: 1.533 MB / 0.8083 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.05026, allocations: 0.6871 MB / 0.8089 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.05038, allocations: 112 kB / 0.809 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.05168, allocations: 0.9317 MB / 0.8099 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.05188, allocations: 298.7 kB / 0.8102 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.05226, allocations: 462.9 kB / 0.8107 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.05386, allocations: 1.52 MB / 0.8122 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.05387, allocations: 0 / 0.8122 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.42e-07/0.05387, allocations: 0 / 0.8122 GB, free: 152 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.05388, allocations: 0 / 0.8122 GB, free: 152 kB / 0.7605 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.001711/0.05559, allocations: 1.6 MB / 0.8137 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.05563, allocations: 9.344 kB / 0.8137 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/0.05647, allocations: 351.3 kB / 0.8141 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.05743, allocations: 0.7879 MB / 0.8148 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.05747, allocations: 66 kB / 0.8149 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.05754, allocations: 80 kB / 0.815 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007927/0.05834, allocations: 0.7631 MB / 0.8157 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.05835, allocations: 0.7812 kB / 0.8157 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.0584, allocations: 32 kB / 0.8157 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.05841, allocations: 21.06 kB / 0.8158 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.05878, allocations: 272.1 kB / 0.816 GB, free: 12.04 MB / 0.7761 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.002697/0.06147, allocations: 2.918 MB / 0.8189 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.06222, allocations: 398.9 kB / 0.8193 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.06234, allocations: 98.62 kB / 0.8193 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.814e-05/0.06244, allocations: 39.97 kB / 0.8194 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.06246, allocations: 40.31 kB / 0.8194 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.06246, allocations: 0 / 0.8194 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.002094/0.06456, allocations: 0.8907 MB / 0.8203 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.06458, allocations: 55.41 kB / 0.8203 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.06516, allocations: 0.7597 MB / 0.8211 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.06519, allocations: 41.7 kB / 0.8211 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.06538, allocations: 429.8 kB / 0.8215 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.0656, allocations: 158.6 kB / 0.8217 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.06574, allocations: 134.2 kB / 0.8218 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.06581, allocations: 329.9 kB / 0.8221 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.06596, allocations: 86.28 kB / 0.8222 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.06631, allocations: 0.7184 MB / 0.8229 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.06662, allocations: 372 kB / 0.8233 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.06663, allocations: 0 / 0.8233 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008813/0.06751, allocations: 0.5274 MB / 0.8238 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.06753, allocations: 8 kB / 0.8238 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.06753, allocations: 4 kB / 0.8238 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.06796, allocations: 168.4 kB / 0.824 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.0682, allocations: 119.8 kB / 0.8241 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003894/0.06859, allocations: 0.6433 MB / 0.8247 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.06898, allocations: 107.6 kB / 0.8248 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.06902, allocations: 27.98 kB / 0.8248 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000253/0.06927, allocations: 175.1 kB / 0.825 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003482/0.06962, allocations: 0.7261 MB / 0.8257 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002909/0.06991, allocations: 359.7 kB / 0.826 GB, free: 1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.06992, allocations: 0 / 0.826 GB, free: 1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0008392/0.07076, allocations: 0.5351 MB / 0.8266 GB, free: 460 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.07077, allocations: 9.875 kB / 0.8266 GB, free: 452 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.07077, allocations: 7.938 kB / 0.8266 GB, free: 444 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.07108, allocations: 167.6 kB / 0.8267 GB, free: 272 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.07132, allocations: 119.8 kB / 0.8269 GB, free: 152 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003543/0.07167, allocations: 0.6268 MB / 0.8275 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.07204, allocations: 99.64 kB / 0.8276 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.07208, allocations: 23.98 kB / 0.8276 GB, free: 15.38 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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.0001262/0.07221, allocations: 228.1 kB / 0.8278 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.07229, allocations: 71.92 kB / 0.8279 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.07339, allocations: 0.5231 MB / 0.8284 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.07339, allocations: 3.984 kB / 0.8284 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.0734, allocations: 0 / 0.8284 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.07359, allocations: 127.1 kB / 0.8285 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.07365, allocations: 8 kB / 0.8285 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.0739, allocations: 43.95 kB / 0.8286 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.07395, allocations: 32.44 kB / 0.8286 GB, free: 14.33 MB / 0.7917 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.0007352/0.07468, allocations: 482.3 kB / 0.8291 GB, free: 13.86 MB / 0.7917 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Examples.Carnot_TCon could not be translated " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 3.921582456678152]