Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.304/2.304, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.00135/0.00135, allocations: 174.2 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.41/2.41, allocations: 205.4 MB / 0.5772 GB, free: 20.71 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.0008706/0.0008704, allocations: 80.88 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004742, allocations: 17.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06569/0.275, allocations: 56.52 MB / 0.9547 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.2949, allocations: 11.08 MB / 0.9655 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.2973, allocations: 55.62 kB / 0.9656 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.2999, allocations: 460.9 kB / 0.966 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007016/0.3069, allocations: 1.517 MB / 0.9675 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.3116, allocations: 0.8797 MB / 0.9683 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006787/0.3184, allocations: 3.418 MB / 0.9717 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.3207, allocations: 0.8445 MB / 0.9725 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.3245, allocations: 1.034 MB / 0.9735 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.327, allocations: 0.8127 MB / 0.9743 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004411/0.3275, allocations: 44 kB / 0.9744 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.3316, allocations: 1.084 MB / 0.9754 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.3322, allocations: 203 kB / 0.9756 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006954/0.3329, allocations: 289 kB / 0.9759 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.3368, allocations: 1.621 MB / 0.9775 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3369, allocations: 4 kB / 0.9775 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3369, allocations: 4 kB / 0.9775 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.494e-05/0.3369, allocations: 0 / 0.9775 GB, free: 1.441 MB / 0.6198 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.004745/0.3417, allocations: 1.499 MB / 0.9789 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3418, allocations: 11.97 kB / 0.9789 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004136/0.3459, allocations: 470.8 kB / 0.9794 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.3499, allocations: 1.098 MB / 0.9805 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/0.351, allocations: 121.9 kB / 0.9806 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.3514, allocations: 84 kB / 0.9807 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/0.3557, allocations: 0.9995 MB / 0.9816 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.3558, allocations: 3.938 kB / 0.9816 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.356, allocations: 36 kB / 0.9817 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.356, allocations: 20 kB / 0.9817 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/0.3609, allocations: 0.9289 MB / 0.9826 GB, free: 12.03 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.01148/0.3724, allocations: 4.648 MB / 0.9871 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006724/0.3792, allocations: 0.9369 MB / 0.9881 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.3808, allocations: 338 kB / 0.9884 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/0.3818, allocations: 0.9068 MB / 0.9893 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3819, allocations: 39 kB / 0.9893 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 6.623e-06/0.3819, allocations: 0 / 0.9893 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.0155/0.3974, allocations: 2.018 MB / 0.9913 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3975, allocations: 55.84 kB / 0.9913 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.4003, allocations: 1.051 MB / 0.9924 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.4005, allocations: 37.7 kB / 0.9924 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006688/0.4012, allocations: 0.5119 MB / 0.9929 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.4015, allocations: 161.6 kB / 0.993 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.4016, allocations: 12 kB / 0.9931 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4017, allocations: 334 kB / 0.9934 GB, free: 396 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.4036, allocations: 332.9 kB / 0.9937 GB, free: 64 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.4058, allocations: 0.5328 MB / 0.9942 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.4078, allocations: 372.6 kB / 0.9946 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.4078, allocations: 0 / 0.9946 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007295/0.4151, allocations: 1.229 MB / 0.9958 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.4153, allocations: 197.1 kB / 0.996 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.4154, allocations: 11.97 kB / 0.996 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.4177, allocations: 329.5 kB / 0.9963 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.419, allocations: 139.8 kB / 0.9964 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.4218, allocations: 0.9442 MB / 0.9973 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.4245, allocations: 191.3 kB / 0.9975 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.4248, allocations: 27.98 kB / 0.9975 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4248, allocations: 5.562 kB / 0.9976 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006668/0.4315, allocations: 1.1 MB / 0.9986 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.87e-05/0.4316, allocations: 7.984 kB / 0.9986 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.4337, allocations: 325 kB / 0.9989 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.4349, allocations: 131.8 kB / 0.9991 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.4375, allocations: 0.9372 MB / 1 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.4398, allocations: 163.3 kB / 1 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.44, allocations: 43.91 kB / 1 GB, free: 9.207 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 (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.0008211/0.4409, allocations: 346.1 kB / 1.001 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.4413, allocations: 114.7 kB / 1.001 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007897/0.4492, allocations: 1.241 MB / 1.002 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.4492, allocations: 3.984 kB / 1.002 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4493, allocations: 4 kB / 1.002 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008909/0.4502, allocations: 279.4 kB / 1.002 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.4504, allocations: 15.94 kB / 1.002 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.4521, allocations: 107.9 kB / 1.002 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.4523, allocations: 32.39 kB / 1.002 GB, free: 7.043 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.00593/0.4582, allocations: 0.8945 MB / 1.003 GB, free: 6.141 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.