Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, allocations: 251.5 MB / 267.4 MB, free: 11.11 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.0009722/0.0009723, allocations: 180 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205 MB / 0.5767 GB, free: 20.94 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.0008084/0.0008084, allocations: 89.97 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 8.719 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1845, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.08089/0.2654, allocations: 114.5 MB / 1.009 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03567/0.3012, allocations: 26.52 MB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.306, allocations: 115.2 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.3101, allocations: 1.049 MB / 1.036 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009902/0.32, allocations: 3.292 MB / 1.039 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007644/0.3277, allocations: 2.939 MB / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01385/0.3415, allocations: 9.382 MB / 1.051 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/0.3468, allocations: 2.255 MB / 1.053 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007738/0.3545, allocations: 2.586 MB / 1.056 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4219/0.7765, allocations: 2.033 MB / 1.058 GB, free: 28.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007572/0.7773, allocations: 102.9 kB / 1.058 GB, free: 28.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/0.7809, allocations: 1.382 MB / 1.059 GB, free: 28.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000561/0.7815, allocations: 0.4911 MB / 1.059 GB, free: 28.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.7835, allocations: 1.401 MB / 1.061 GB, free: 28.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007379/0.7908, allocations: 4.827 MB / 1.066 GB, free: 28.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7909, allocations: 3.375 kB / 1.066 GB, free: 28.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7909, allocations: 0 / 1.066 GB, free: 28.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001412/0.791, allocations: 1.562 kB / 1.066 GB, free: 28.49 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.006914/0.798, allocations: 2.834 MB / 1.068 GB, free: 27.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.798, allocations: 9.312 kB / 1.068 GB, free: 27.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.804, allocations: 1.1 MB / 1.069 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004657/0.8087, allocations: 2.457 MB / 1.072 GB, free: 26.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.8089, allocations: 147.2 kB / 1.072 GB, free: 26.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.8092, allocations: 201 kB / 1.072 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005474/0.8147, allocations: 2.514 MB / 1.075 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.8148, allocations: 4.125 kB / 1.075 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.8149, allocations: 78.28 kB / 1.075 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.815, allocations: 51.12 kB / 1.075 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005642/0.8206, allocations: 2.381 MB / 1.077 GB, free: 26.01 MB / 0.698 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.01578/0.8364, allocations: 12.12 MB / 1.089 GB, free: 19.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/0.8424, allocations: 2.108 MB / 1.091 GB, free: 19.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.8444, allocations: 0.9355 MB / 1.092 GB, free: 19.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000919/0.8454, allocations: 1.381 MB / 1.093 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.8454, allocations: 50.22 kB / 1.093 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001687/0.8471, allocations: 225.4 kB / 1.093 GB, free: 18.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.699e-06/0.8471, allocations: 0 / 1.093 GB, free: 18.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.02929/0.8764, allocations: 9.014 MB / 1.102 GB, free: 17.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.8765, allocations: 169.6 kB / 1.102 GB, free: 16.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.8793, allocations: 2.078 MB / 1.104 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.8795, allocations: 50.83 kB / 1.104 GB, free: 16.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007826/0.8803, allocations: 1.195 MB / 1.106 GB, free: 16.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.8806, allocations: 387.1 kB / 1.106 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.8808, allocations: 123.8 kB / 1.106 GB, free: 15.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.8809, allocations: 305.6 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/0.8835, allocations: 0.9165 MB / 1.107 GB, free: 15.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/0.8861, allocations: 1.322 MB / 1.109 GB, free: 15.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/0.8903, allocations: 2.055 MB / 1.111 GB, free: 14.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.8903, allocations: 3.469 kB / 1.111 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007158/0.8975, allocations: 3.039 MB / 1.114 GB, free: 14.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.8977, allocations: 378.4 kB / 1.114 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.8977, allocations: 9.875 kB / 1.114 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/0.9031, allocations: 1.584 MB / 1.116 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.9044, allocations: 328.8 kB / 1.116 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.9154, allocations: 6.076 MB / 1.122 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.9187, allocations: 387.5 kB / 1.122 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.9189, allocations: 73.77 kB / 1.122 GB, free: 11.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.919, allocations: 8.156 kB / 1.122 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005516/0.9245, allocations: 2.365 MB / 1.125 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.9245, allocations: 10.97 kB / 1.125 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.9269, allocations: 0.6821 MB / 1.125 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.9285, allocations: 399.2 kB / 1.126 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.9393, allocations: 6.781 MB / 1.132 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.9422, allocations: 331.8 kB / 1.133 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.9425, allocations: 69.5 kB / 1.133 GB, free: 6.926 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,16), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.001451/0.9439, allocations: 0.6237 MB / 1.133 GB, free: 6.715 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006559/0.9446, allocations: 228.7 kB / 1.133 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005627/0.9502, allocations: 2.502 MB / 1.136 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004284/0.9545, allocations: 2.354 MB / 1.138 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.9546, allocations: 3.938 kB / 1.138 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.9557, allocations: 0.4919 MB / 1.139 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006577/0.9564, allocations: 19.31 kB / 1.139 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/0.9587, allocations: 310.8 kB / 1.139 GB, free: 4.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.9589, allocations: 73.64 kB / 1.139 GB, free: 4.777 MB / 0.698 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.00548/0.9644, allocations: 1.996 MB / 1.141 GB, free: 4.219 MB / 0.698 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.