Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 114.5 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 193.3 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.862/1.862, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.5063/0.8299, allocations: 61.21 MB / 0.8446 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.8481, allocations: 11.89 MB / 0.8562 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.8516, allocations: 59.41 kB / 0.8562 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.8546, allocations: 0.6845 MB / 0.8569 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008429/0.863, allocations: 1.954 MB / 0.8588 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.8687, allocations: 1.222 MB / 0.86 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006858/0.8755, allocations: 3.073 MB / 0.863 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.8792, allocations: 1.104 MB / 0.8641 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004714/0.884, allocations: 1.334 MB / 0.8654 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.8867, allocations: 0.9087 MB / 0.8663 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005483/0.8872, allocations: 117.1 kB / 0.8664 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00533/0.8926, allocations: 1.45 MB / 0.8678 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007431/0.8933, allocations: 290.6 kB / 0.8681 GB, free: 10.35 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.8954, allocations: 0.6983 MB / 0.8688 GB, free: 9.914 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.9022, allocations: 2.32 MB / 0.871 GB, free: 8.668 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9023, allocations: 0 / 0.871 GB, free: 8.668 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9023, allocations: 1.25 kB / 0.871 GB, free: 8.668 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.267e-05/0.9024, allocations: 4 kB / 0.871 GB, free: 8.664 MB / 0.67 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.005562/0.9079, allocations: 1.737 MB / 0.8727 GB, free: 7.32 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.908, allocations: 8.344 kB / 0.8727 GB, free: 7.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.9107, allocations: 410.8 kB / 0.8731 GB, free: 7.133 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/0.9145, allocations: 1.166 MB / 0.8743 GB, free: 6.203 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.9147, allocations: 65.78 kB / 0.8743 GB, free: 6.172 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.915, allocations: 80.38 kB / 0.8744 GB, free: 6.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.9181, allocations: 0.9977 MB / 0.8754 GB, free: 5.492 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.9182, allocations: 3.938 kB / 0.8754 GB, free: 5.488 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.9183, allocations: 33.09 kB / 0.8754 GB, free: 5.465 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.9183, allocations: 23.16 kB / 0.8754 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.9211, allocations: 0.856 MB / 0.8763 GB, free: 5.039 MB / 0.67 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.009323/0.9304, allocations: 4.955 MB / 0.8811 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.9349, allocations: 0.8322 MB / 0.8819 GB, free: 216 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.9358, allocations: 310.6 kB / 0.8822 GB, free: 64 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/0.9367, allocations: 0.9064 MB / 0.8831 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.9367, allocations: 38.47 kB / 0.8831 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 3.567e-06/0.9367, allocations: 4 kB / 0.8831 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007911/0.9447, allocations: 1.738 MB / 0.8848 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9447, allocations: 56.5 kB / 0.8849 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.9472, allocations: 1.083 MB / 0.886 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.9473, allocations: 43.3 kB / 0.886 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/0.948, allocations: 0.5323 MB / 0.8865 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.9482, allocations: 158.7 kB / 0.8867 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.9486, allocations: 146 kB / 0.8868 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9487, allocations: 330.5 kB / 0.8871 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.9498, allocations: 323.8 kB / 0.8874 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.9511, allocations: 0.5268 MB / 0.8879 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.9531, allocations: 0.7229 MB / 0.8886 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.9532, allocations: 6.25 kB / 0.8887 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003506/0.9567, allocations: 1.035 MB / 0.8897 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.9567, allocations: 7.281 kB / 0.8897 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.9568, allocations: 5.719 kB / 0.8897 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.9582, allocations: 307.1 kB / 0.89 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.9589, allocations: 132.4 kB / 0.8901 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.9606, allocations: 0.8994 MB / 0.891 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.9622, allocations: 154.8 kB / 0.8911 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.9624, allocations: 36.7 kB / 0.8912 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00141/0.9638, allocations: 0.5252 MB / 0.8917 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00119/0.965, allocations: 0.528 MB / 0.8922 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001938/0.9669, allocations: 0.7189 MB / 0.8929 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-05/0.967, allocations: 2.25 kB / 0.8929 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003348/0.9703, allocations: 1.025 MB / 0.8939 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9703, allocations: 8 kB / 0.8939 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.9704, allocations: 9.125 kB / 0.8939 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.9716, allocations: 301.1 kB / 0.8942 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.9722, allocations: 137.2 kB / 0.8943 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.9737, allocations: 0.9005 MB / 0.8952 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.9752, allocations: 130 kB / 0.8953 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.9753, allocations: 31.14 kB / 0.8954 GB, free: 6.992 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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.0002886/0.9756, allocations: 225.9 kB / 0.8956 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.976, allocations: 115.3 kB / 0.8957 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.9789, allocations: 0.9774 MB / 0.8966 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.9789, allocations: 3.984 kB / 0.8966 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9789, allocations: 5.375 kB / 0.8966 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006485/0.9795, allocations: 266.1 kB / 0.8969 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.9798, allocations: 10.75 kB / 0.8969 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/0.9807, allocations: 67.66 kB / 0.897 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.9808, allocations: 31.52 kB / 0.897 GB, free: 5.859 MB / 0.6856 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.002948/0.9838, allocations: 0.7775 MB / 0.8978 GB, free: 5.441 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Examples.Carnot_TEva could not be translated