Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009222/0.0009223, allocations: 176.5 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205 MB / 0.5766 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007225/0.0007225, allocations: 92.7 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 10.59 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1812, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04099/0.2222, allocations: 60.53 MB / 0.9558 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.2354, allocations: 11.93 MB / 0.9675 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.2375, allocations: 51.62 kB / 0.9675 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.239, allocations: 0.5555 MB / 0.9681 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.2433, allocations: 1.79 MB / 0.9698 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.2457, allocations: 1.092 MB / 0.9709 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003963/0.2497, allocations: 3.886 MB / 0.9747 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.2509, allocations: 0.8884 MB / 0.9756 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.2529, allocations: 1.116 MB / 0.9767 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.2539, allocations: 0.8709 MB / 0.9775 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.254, allocations: 44 kB / 0.9776 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.2563, allocations: 1.294 MB / 0.9788 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.2565, allocations: 210.9 kB / 0.979 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.2571, allocations: 0.6021 MB / 0.9796 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.2594, allocations: 2.192 MB / 0.9817 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2595, allocations: 4 kB / 0.9817 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2595, allocations: 0 / 0.9817 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.2595, allocations: 0 / 0.9817 GB, free: 12.81 MB / 0.6355 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.002425/0.2619, allocations: 1.493 MB / 0.9832 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.262, allocations: 8.031 kB / 0.9832 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.264, allocations: 470.9 kB / 0.9837 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.2658, allocations: 1.136 MB / 0.9848 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.2662, allocations: 125.9 kB / 0.9849 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2663, allocations: 87.98 kB / 0.985 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.2682, allocations: 0.9995 MB / 0.986 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.2682, allocations: 0 / 0.986 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.2683, allocations: 36 kB / 0.986 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.2683, allocations: 20 kB / 0.986 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.2706, allocations: 0.929 MB / 0.9869 GB, free: 7.359 MB / 0.6355 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.006056/0.2767, allocations: 4.667 MB / 0.9915 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.2802, allocations: 0.9397 MB / 0.9924 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.2809, allocations: 332.5 kB / 0.9927 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/0.2816, allocations: 0.9029 MB / 0.9936 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2817, allocations: 42.98 kB / 0.9936 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.2817, allocations: 0 / 0.9936 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.007872/0.2896, allocations: 2.022 MB / 0.9956 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.2896, allocations: 59.83 kB / 0.9957 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.2911, allocations: 1.059 MB / 0.9967 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.2912, allocations: 37.7 kB / 0.9967 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.2917, allocations: 0.5157 MB / 0.9972 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.2918, allocations: 161.7 kB / 0.9974 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.2919, allocations: 49.7 kB / 0.9974 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2921, allocations: 330 kB / 0.9977 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/0.2929, allocations: 340.9 kB / 0.9981 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.294, allocations: 0.5406 MB / 0.9986 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.2956, allocations: 0.7449 MB / 0.9993 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2957, allocations: 0 / 0.9993 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003652/0.2993, allocations: 1.253 MB / 1.001 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.2995, allocations: 201 kB / 1.001 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2995, allocations: 4 kB / 1.001 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.3007, allocations: 344.4 kB / 1.001 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.3012, allocations: 135.8 kB / 1.001 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.3026, allocations: 0.9357 MB / 1.002 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3039, allocations: 195.2 kB / 1.002 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.304, allocations: 31.98 kB / 1.002 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.304, allocations: 7.938 kB / 1.002 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003176/0.3072, allocations: 1.111 MB / 1.003 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3072, allocations: 4 kB / 1.003 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3082, allocations: 325 kB / 1.004 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.3088, allocations: 127.8 kB / 1.004 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3101, allocations: 0.9405 MB / 1.005 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.3113, allocations: 174.3 kB / 1.005 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.3114, allocations: 35.98 kB / 1.005 GB, free: 3.984 MB / 0.6511 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 (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.0004985/0.3119, allocations: 352.9 kB / 1.005 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.3121, allocations: 110.6 kB / 1.005 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.3158, allocations: 1.245 MB / 1.007 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3158, allocations: 7.922 kB / 1.007 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3158, allocations: 4 kB / 1.007 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.3162, allocations: 263.5 kB / 1.007 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.3163, allocations: 8 kB / 1.007 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/0.3171, allocations: 111.8 kB / 1.007 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.3172, allocations: 32.39 kB / 1.007 GB, free: 1.816 MB / 0.6511 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.002746/0.32, allocations: 0.8946 MB / 1.008 GB, free: 0.9141 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.