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_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.5 MB / 267.4 MB, free: 10.86 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.001004/0.001004, allocations: 173.8 kB / 326.5 MB, free: 2.652 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.493/1.493, allocations: 205 MB / 0.5766 GB, free: 20.93 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.0008176/0.0008178, allocations: 99.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 9.281 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.08359/0.2863, allocations: 114.4 MB / 1.008 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03909/0.3254, allocations: 26.52 MB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004985/0.3304, allocations: 119.1 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.3345, allocations: 1.045 MB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.3445, allocations: 3.302 MB / 1.039 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00723/0.3518, allocations: 2.94 MB / 1.042 GB, free: 15.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.3635, allocations: 9.381 MB / 1.051 GB, free: 5.996 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003917/0.3674, allocations: 2.247 MB / 1.053 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006446/0.3739, allocations: 2.593 MB / 1.055 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4672/0.8412, allocations: 2.04 MB / 1.057 GB, free: 28.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007184/0.8419, allocations: 103.5 kB / 1.058 GB, free: 28.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.8458, allocations: 1.374 MB / 1.059 GB, free: 28.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006215/0.8464, allocations: 496 kB / 1.059 GB, free: 28.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.8486, allocations: 1.408 MB / 1.061 GB, free: 28.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007409/0.856, allocations: 4.823 MB / 1.065 GB, free: 28.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8561, allocations: 2.078 kB / 1.065 GB, free: 28.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8561, allocations: 2.094 kB / 1.065 GB, free: 28.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001456/0.8562, allocations: 0 / 1.065 GB, free: 28.52 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.006701/0.8629, allocations: 2.835 MB / 1.068 GB, free: 27.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.863, allocations: 8.469 kB / 1.068 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/0.869, allocations: 1.102 MB / 1.069 GB, free: 27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004988/0.874, allocations: 2.458 MB / 1.072 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.8741, allocations: 146.8 kB / 1.072 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/0.8745, allocations: 191.2 kB / 1.072 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00572/0.8803, allocations: 2.525 MB / 1.075 GB, free: 26.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.8803, allocations: 4.531 kB / 1.075 GB, free: 26.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.8805, allocations: 77.19 kB / 1.075 GB, free: 26.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/0.8806, allocations: 46.41 kB / 1.075 GB, free: 26.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005798/0.8864, allocations: 2.391 MB / 1.077 GB, free: 26.04 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.01701/0.9034, allocations: 12.12 MB / 1.089 GB, free: 19.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007299/0.9107, allocations: 2.341 MB / 1.091 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.9127, allocations: 0.9359 MB / 1.092 GB, free: 19.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008596/0.9136, allocations: 1.379 MB / 1.093 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.9136, allocations: 48.81 kB / 1.093 GB, free: 18.31 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001719/0.9153, allocations: 231.5 kB / 1.094 GB, free: 18.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.008e-06/0.9153, allocations: 0 / 1.094 GB, free: 18.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.02975/0.9451, allocations: 9.007 MB / 1.102 GB, free: 17.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.9452, allocations: 166.9 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.9481, allocations: 2.079 MB / 1.105 GB, free: 16.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.9483, allocations: 51.02 kB / 1.105 GB, free: 16.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/0.9492, allocations: 1.205 MB / 1.106 GB, free: 16.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.9496, allocations: 387.4 kB / 1.106 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.9498, allocations: 124 kB / 1.106 GB, free: 15.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.9498, allocations: 301.7 kB / 1.107 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.9525, allocations: 0.9151 MB / 1.108 GB, free: 15.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.955, allocations: 1.321 MB / 1.109 GB, free: 15.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004092/0.9592, allocations: 2.056 MB / 1.111 GB, free: 14.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.9592, allocations: 7.219 kB / 1.111 GB, free: 14.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007371/0.9665, allocations: 3.035 MB / 1.114 GB, free: 14.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.9668, allocations: 376.4 kB / 1.114 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.9668, allocations: 9.688 kB / 1.114 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005628/0.9724, allocations: 1.584 MB / 1.116 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.9739, allocations: 331.1 kB / 1.116 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.9854, allocations: 6.073 MB / 1.122 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/0.9891, allocations: 387.8 kB / 1.122 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.9894, allocations: 76.14 kB / 1.122 GB, free: 11.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.9894, allocations: 7.844 kB / 1.122 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005301/0.9947, allocations: 2.368 MB / 1.125 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.9948, allocations: 11.11 kB / 1.125 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/0.9971, allocations: 0.6835 MB / 1.125 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.9987, allocations: 397.7 kB / 1.126 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/1.01, allocations: 6.781 MB / 1.132 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/1.013, allocations: 338.3 kB / 1.133 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/1.013, allocations: 66.94 kB / 1.133 GB, free: 6.859 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.001678/1.015, allocations: 0.6198 MB / 1.133 GB, free: 6.648 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/1.016, allocations: 235.2 kB / 1.134 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/1.021, allocations: 2.504 MB / 1.136 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00414/1.025, allocations: 2.351 MB / 1.138 GB, free: 5.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.025, allocations: 3.938 kB / 1.138 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.027, allocations: 499.7 kB / 1.139 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/1.027, allocations: 20.19 kB / 1.139 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.029, allocations: 310.7 kB / 1.139 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.029, allocations: 71.95 kB / 1.139 GB, free: 4.711 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.005682/1.035, allocations: 1.994 MB / 1.141 GB, free: 4.156 MB / 0.698 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.