Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") 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.001339/0.001339, allocations: 170.4 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.486/2.486, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0008572/0.0008572, allocations: 83.92 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004777, allocations: 15.5 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06803/0.2679, allocations: 56.55 MB / 0.9547 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.2875, allocations: 11.1 MB / 0.9655 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.2899, allocations: 51.62 kB / 0.9656 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.2924, allocations: 464.9 kB / 0.966 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006655/0.2991, allocations: 1.514 MB / 0.9675 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3034, allocations: 0.8857 MB / 0.9684 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006546/0.31, allocations: 3.422 MB / 0.9717 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.3123, allocations: 0.8575 MB / 0.9726 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.3157, allocations: 1.038 MB / 0.9736 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.318, allocations: 0.8205 MB / 0.9744 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003464/0.3183, allocations: 44 kB / 0.9744 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/0.3223, allocations: 1.091 MB / 0.9755 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.3229, allocations: 207 kB / 0.9757 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.3236, allocations: 281 kB / 0.976 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003728/0.3273, allocations: 1.641 MB / 0.9776 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3274, allocations: 0 / 0.9776 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.05e-06/0.3274, allocations: 4 kB / 0.9776 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.942e-05/0.3274, allocations: 0 / 0.9776 GB, free: 1.348 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004592/0.332, allocations: 1.512 MB / 0.979 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3321, allocations: 8.031 kB / 0.979 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.3368, allocations: 0.5144 MB / 0.9795 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003618/0.3404, allocations: 1.106 MB / 0.9806 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006674/0.3412, allocations: 125.9 kB / 0.9807 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.3414, allocations: 84 kB / 0.9808 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/0.3451, allocations: 1.029 MB / 0.9818 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.3452, allocations: 3.938 kB / 0.9818 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.3454, allocations: 32 kB / 0.9819 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.3454, allocations: 20 kB / 0.9819 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004825/0.3502, allocations: 0.9915 MB / 0.9829 GB, free: 11.78 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.01068/0.361, allocations: 4.714 MB / 0.9875 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007869/0.3689, allocations: 1.133 MB / 0.9886 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.3711, allocations: 439.5 kB / 0.989 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.3727, allocations: 1.025 MB / 0.99 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.3727, allocations: 43 kB / 0.99 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 4.459e-06/0.3728, allocations: 0 / 0.99 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.01501/0.3878, allocations: 2.139 MB / 0.9921 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3879, allocations: 59.78 kB / 0.9922 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.3899, allocations: 0.9319 MB / 0.9931 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.3902, allocations: 41.69 kB / 0.9931 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/0.3908, allocations: 0.504 MB / 0.9936 GB, free: 100 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.3911, allocations: 181.4 kB / 0.9938 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.3912, allocations: 11.94 kB / 0.9938 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3914, allocations: 330 kB / 0.9941 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.3936, allocations: 376.8 kB / 0.9945 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.3958, allocations: 0.5303 MB / 0.995 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.3979, allocations: 389.9 kB / 0.9954 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.398, allocations: 0 / 0.9954 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005588/0.4036, allocations: 1.111 MB / 0.9964 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.4038, allocations: 172.3 kB / 0.9966 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4038, allocations: 4 kB / 0.9966 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.406, allocations: 324.5 kB / 0.9969 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.4074, allocations: 139.8 kB / 0.9971 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.4101, allocations: 0.9396 MB / 0.998 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.4123, allocations: 171.3 kB / 0.9981 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4125, allocations: 31.97 kB / 0.9982 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4125, allocations: 4 kB / 0.9982 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005058/0.4176, allocations: 0.9858 MB / 0.9991 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4176, allocations: 4.297 kB / 0.9991 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.4196, allocations: 326.2 kB / 0.9994 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4209, allocations: 143.8 kB / 0.9996 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.4235, allocations: 0.9489 MB / 1.001 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.4257, allocations: 164.5 kB / 1.001 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.4258, allocations: 31.97 kB / 1.001 GB, free: 8.664 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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.0007885/0.4266, allocations: 345 kB / 1.001 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.4269, allocations: 110.7 kB / 1.001 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005706/0.4326, allocations: 1.227 MB / 1.002 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.4327, allocations: 7.984 kB / 1.002 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4327, allocations: 0 / 1.002 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000937/0.4337, allocations: 279.5 kB / 1.003 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.4339, allocations: 15.98 kB / 1.003 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.4357, allocations: 123.7 kB / 1.003 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.4359, allocations: 36.5 kB / 1.003 GB, free: 6.496 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.006821/0.4427, allocations: 1.009 MB / 1.004 GB, free: 5.484 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.