Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, 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.0015/0.001499, allocations: 169.5 kB / 326.2 MB, free: 2.879 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.506/2.506, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.0009502/0.00095, allocations: 97.73 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006999/0.0007003, allocations: 12.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2137, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.07129/0.2851, allocations: 56.51 MB / 0.9547 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.3045, allocations: 11.08 MB / 0.9655 GB, free: 13.77 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.307, allocations: 51.62 kB / 0.9656 GB, free: 13.72 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.3094, allocations: 464.9 kB / 0.966 GB, free: 13.26 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.006695/0.3161, allocations: 1.521 MB / 0.9675 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.3204, allocations: 0.8644 MB / 0.9683 GB, free: 10.88 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.006705/0.3271, allocations: 3.418 MB / 0.9717 GB, free: 7.441 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.3293, allocations: 0.8484 MB / 0.9725 GB, free: 6.574 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.3326, allocations: 1.034 MB / 0.9735 GB, free: 5.535 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.3348, allocations: 0.8088 MB / 0.9743 GB, free: 4.723 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.335, allocations: 44 kB / 0.9743 GB, free: 4.68 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.3388, allocations: 1.088 MB / 0.9754 GB, free: 3.59 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.3393, allocations: 210.9 kB / 0.9756 GB, free: 3.383 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0006464/0.34, allocations: 277.1 kB / 0.9759 GB, free: 3.105 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.3436, allocations: 1.633 MB / 0.9775 GB, free: 1.469 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3437, allocations: 3.938 kB / 0.9775 GB, free: 1.465 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3437, allocations: 0 / 0.9775 GB, free: 1.465 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 3.786e-05/0.3438, allocations: 0 / 0.9775 GB, free: 1.465 MB / 0.6199 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.004596/0.3484, allocations: 1.508 MB / 0.9789 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.3484, allocations: 16.03 kB / 0.979 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/0.3524, allocations: 470.8 kB / 0.9794 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.356, allocations: 1.09 MB / 0.9805 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007009/0.3568, allocations: 133.9 kB / 0.9806 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.357, allocations: 80 kB / 0.9807 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/0.3606, allocations: 0.9956 MB / 0.9816 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.3606, allocations: 0 / 0.9816 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.3608, allocations: 35.98 kB / 0.9817 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.3608, allocations: 16 kB / 0.9817 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/0.3652, allocations: 0.9212 MB / 0.9826 GB, free: 12.06 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.01114/0.3764, allocations: 4.654 MB / 0.9871 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/0.3831, allocations: 0.9251 MB / 0.988 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.3847, allocations: 343.5 kB / 0.9884 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.3857, allocations: 0.899 MB / 0.9892 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.3858, allocations: 43 kB / 0.9893 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 4.79e-06/0.3858, allocations: 0 / 0.9893 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.01434/0.4002, allocations: 1.998 MB / 0.9912 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.4003, allocations: 55.84 kB / 0.9913 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.4029, allocations: 1.052 MB / 0.9923 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.403, allocations: 37.7 kB / 0.9924 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006778/0.4037, allocations: 0.5313 MB / 0.9929 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4039, allocations: 161.7 kB / 0.993 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.404, allocations: 8 kB / 0.993 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4042, allocations: 334 kB / 0.9934 GB, free: 436 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.406, allocations: 324.9 kB / 0.9937 GB, free: 112 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/0.408, allocations: 0.5285 MB / 0.9942 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.4099, allocations: 368.5 kB / 0.9945 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4099, allocations: 0 / 0.9945 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.006868/0.4168, allocations: 1.221 MB / 0.9957 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.417, allocations: 213.2 kB / 0.9959 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.417, allocations: 4 kB / 0.9959 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.4192, allocations: 332.5 kB / 0.9962 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.4203, allocations: 131.8 kB / 0.9964 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.423, allocations: 0.9435 MB / 0.9973 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.4254, allocations: 191.2 kB / 0.9975 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.4256, allocations: 35.98 kB / 0.9975 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.4256, allocations: 7.938 kB / 0.9975 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006342/0.4319, allocations: 1.077 MB / 0.9986 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.432, allocations: 4 kB / 0.9986 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.434, allocations: 334.1 kB / 0.9989 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4351, allocations: 131.8 kB / 0.999 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.4378, allocations: 0.9332 MB / 0.9999 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.4401, allocations: 171.3 kB / 1 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4402, allocations: 31.98 kB / 1 GB, free: 9.285 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.0008363/0.4411, allocations: 349 kB / 1 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.4414, allocations: 118.5 kB / 1.001 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.4461, allocations: 1.038 MB / 1.002 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.4462, allocations: 3.984 kB / 1.002 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4462, allocations: 4 kB / 1.002 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000871/0.4471, allocations: 287.4 kB / 1.002 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.4473, allocations: 12 kB / 1.002 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.449, allocations: 107.8 kB / 1.002 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.4491, allocations: 32.39 kB / 1.002 GB, free: 7.309 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.005838/0.455, allocations: 0.8963 MB / 1.003 GB, free: 6.406 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.