Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.4 MB / 304.3 MB, free: 8.191 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.0009763/0.0009766, allocations: 175 kB / 372.9 MB, free: 10.15 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.766/1.766, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0009117/0.0009117, allocations: 100.2 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.0004512, allocations: 12.44 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04687/0.2828, allocations: 56.52 MB / 1.036 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.3017, allocations: 11.13 MB / 1.047 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.3042, allocations: 47.69 kB / 1.047 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.3062, allocations: 464.8 kB / 1.047 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.3125, allocations: 1.621 MB / 1.049 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.3161, allocations: 0.8841 MB / 1.05 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00529/0.3214, allocations: 3.429 MB / 1.053 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.323, allocations: 0.8825 MB / 1.054 GB, free: 176 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.3258, allocations: 1.093 MB / 1.055 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.3277, allocations: 0.8127 MB / 1.056 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002848/0.328, allocations: 44 kB / 1.056 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004147/0.3321, allocations: 1.278 MB / 1.057 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004305/0.3326, allocations: 203 kB / 1.057 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.3341, allocations: 0.6042 MB / 1.058 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003834/0.3379, allocations: 1.707 MB / 1.06 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.338, allocations: 0 / 1.06 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.18e-06/0.338, allocations: 7.938 kB / 1.06 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.942e-05/0.3381, allocations: 0 / 1.06 GB, free: 10.4 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.003578/0.3417, allocations: 1.493 MB / 1.061 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3417, allocations: 8.031 kB / 1.061 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.3438, allocations: 478.8 kB / 1.061 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.3462, allocations: 1.128 MB / 1.063 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.3466, allocations: 137.9 kB / 1.063 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3468, allocations: 76 kB / 1.063 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.3489, allocations: 0.9956 MB / 1.064 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.349, allocations: 0 / 1.064 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.3491, allocations: 32 kB / 1.064 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.3491, allocations: 27.94 kB / 1.064 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.3514, allocations: 0.9211 MB / 1.065 GB, free: 4.965 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.006857/0.3583, allocations: 4.614 MB / 1.069 GB, free: 36 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5083/0.8666, allocations: 0.9261 MB / 1.07 GB, free: 91.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009472/0.8676, allocations: 337.6 kB / 1.07 GB, free: 91.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.8682, allocations: 0.9051 MB / 1.071 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.8682, allocations: 42.45 kB / 1.071 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.046e-06/0.8682, allocations: 0.5625 kB / 1.071 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.007669/0.8759, allocations: 1.994 MB / 1.073 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.876, allocations: 59.56 kB / 1.073 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.8777, allocations: 1.051 MB / 1.074 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.8778, allocations: 33.7 kB / 1.074 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.8783, allocations: 0.531 MB / 1.075 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.8784, allocations: 162.3 kB / 1.075 GB, free: 89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.8785, allocations: 11.22 kB / 1.075 GB, free: 89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.8785, allocations: 328 kB / 1.075 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009624/0.8795, allocations: 331.5 kB / 1.076 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.8807, allocations: 0.5253 MB / 1.076 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.8826, allocations: 0.7344 MB / 1.077 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.8826, allocations: 5.469 kB / 1.077 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004116/0.8867, allocations: 1.217 MB / 1.078 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.8869, allocations: 211.2 kB / 1.078 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.8869, allocations: 3.719 kB / 1.078 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.8883, allocations: 335.8 kB / 1.079 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.8889, allocations: 133.3 kB / 1.079 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.8903, allocations: 0.9443 MB / 1.08 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.8917, allocations: 195.5 kB / 1.08 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.8917, allocations: 33.02 kB / 1.08 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.8918, allocations: 3.906 kB / 1.08 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004012/0.8958, allocations: 1.099 MB / 1.081 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8958, allocations: 4.859 kB / 1.081 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.8972, allocations: 325 kB / 1.081 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.8979, allocations: 133.6 kB / 1.081 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.8997, allocations: 0.9299 MB / 1.082 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.9012, allocations: 167.8 kB / 1.083 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.9013, allocations: 37.58 kB / 1.083 GB, free: 85.39 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.0006399/0.902, allocations: 353 kB / 1.083 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.9022, allocations: 112.5 kB / 1.083 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.9049, allocations: 1.037 MB / 1.084 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.9049, allocations: 3.047 kB / 1.084 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.9049, allocations: 0.9688 kB / 1.084 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.9054, allocations: 285.8 kB / 1.084 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.9056, allocations: 11.89 kB / 1.084 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.9064, allocations: 103.3 kB / 1.084 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.9065, allocations: 36.8 kB / 1.084 GB, free: 84.42 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.002894/0.9094, allocations: 0.8906 MB / 1.085 GB, free: 84.15 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.