Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.792/1.792, allocations: 287.4 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 177.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008371/0.0008369, allocations: 100.7 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004319, allocations: 16 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05305/0.2987, allocations: 56.51 MB / 1.034 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.3163, allocations: 11.13 MB / 1.045 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.3188, allocations: 47.69 kB / 1.045 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.321, allocations: 468.8 kB / 1.046 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005849/0.3269, allocations: 1.512 MB / 1.047 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.3302, allocations: 0.8802 MB / 1.048 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005284/0.3355, allocations: 3.436 MB / 1.052 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.3376, allocations: 0.8824 MB / 1.052 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.3406, allocations: 1.05 MB / 1.053 GB, free: 60 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.3426, allocations: 0.8089 MB / 1.054 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.343, allocations: 40 kB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.3463, allocations: 1.103 MB / 1.055 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.3468, allocations: 203 kB / 1.055 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008205/0.3477, allocations: 285 kB / 1.056 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.3508, allocations: 1.637 MB / 1.057 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3509, allocations: 0 / 1.057 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3509, allocations: 4 kB / 1.057 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.298e-05/0.3509, allocations: 4 kB / 1.057 GB, free: 11.97 MB / 0.6823 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.004355/0.3553, allocations: 1.489 MB / 1.059 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.3554, allocations: 8.031 kB / 1.059 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.3577, allocations: 482.8 kB / 1.059 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.3606, allocations: 1.132 MB / 1.06 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.3609, allocations: 125.9 kB / 1.061 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.3611, allocations: 80 kB / 1.061 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.3634, allocations: 1.003 MB / 1.062 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.3634, allocations: 0 / 1.062 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-05/0.3635, allocations: 32 kB / 1.062 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.3636, allocations: 16 kB / 1.062 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.366, allocations: 0.925 MB / 1.063 GB, free: 6.539 MB / 0.6823 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.00747/0.3735, allocations: 4.622 MB / 1.067 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.377, allocations: 0.9383 MB / 1.068 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/0.3778, allocations: 335.5 kB / 1.068 GB, free: 336 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5146/0.8924, allocations: 0.9003 MB / 1.069 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.8925, allocations: 41.19 kB / 1.069 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/0.8925, allocations: 0.625 kB / 1.069 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.00839/0.9009, allocations: 1.996 MB / 1.071 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.901, allocations: 57.75 kB / 1.071 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.9028, allocations: 1.056 MB / 1.072 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.9029, allocations: 38.22 kB / 1.072 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.9033, allocations: 0.5183 MB / 1.073 GB, free: 89.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.9034, allocations: 158.7 kB / 1.073 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.9035, allocations: 12.47 kB / 1.073 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.9036, allocations: 328.7 kB / 1.073 GB, free: 89.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009722/0.9045, allocations: 335.6 kB / 1.074 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.9057, allocations: 0.5305 MB / 1.074 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.9076, allocations: 0.7309 MB / 1.075 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9076, allocations: 1.062 kB / 1.075 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003944/0.9115, allocations: 1.226 MB / 1.076 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.9117, allocations: 197.9 kB / 1.076 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.9117, allocations: 3.781 kB / 1.076 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.913, allocations: 338.8 kB / 1.077 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.9137, allocations: 133.4 kB / 1.077 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.9152, allocations: 0.9428 MB / 1.078 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9166, allocations: 192.4 kB / 1.078 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.9167, allocations: 34.05 kB / 1.078 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.9168, allocations: 4.031 kB / 1.078 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003564/0.9203, allocations: 1.094 MB / 1.079 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9204, allocations: 6.734 kB / 1.079 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.9215, allocations: 323.7 kB / 1.079 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.9222, allocations: 137.2 kB / 1.079 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.9236, allocations: 0.9248 MB / 1.08 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.925, allocations: 171.7 kB / 1.08 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.9251, allocations: 34.16 kB / 1.08 GB, free: 86 MB / 0.6823 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.0005956/0.9257, allocations: 352 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.9259, allocations: 112.2 kB / 1.081 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.9287, allocations: 1.037 MB / 1.082 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.9287, allocations: 3.547 kB / 1.082 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.9287, allocations: 0 / 1.082 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.9292, allocations: 281.3 kB / 1.082 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.9294, allocations: 18.72 kB / 1.082 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/0.9302, allocations: 107.5 kB / 1.082 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.9303, allocations: 32.47 kB / 1.082 GB, free: 85.03 MB / 0.6823 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.003129/0.9335, allocations: 0.8978 MB / 1.083 GB, free: 84.75 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.