Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_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.001452/0.001452, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.001554/0.001554, allocations: 189.6 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 64.12 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9933/0.9952, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.07301/1.068, allocations: 61.19 MB / 1.268 GB, free: 196 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02097/1.089, allocations: 12.01 MB / 1.28 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/1.092, allocations: 59.62 kB / 1.28 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/1.095, allocations: 0.6792 MB / 1.281 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006991/1.102, allocations: 1.963 MB / 1.283 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/1.106, allocations: 1.21 MB / 1.284 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005472/1.111, allocations: 3.083 MB / 1.287 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/1.114, allocations: 1.092 MB / 1.288 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/1.118, allocations: 1.367 MB / 1.289 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/1.12, allocations: 0.8906 MB / 1.29 GB, free: 9.766 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/1.121, allocations: 112 kB / 1.29 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/1.125, allocations: 1.443 MB / 1.292 GB, free: 8.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005966/1.126, allocations: 298.8 kB / 1.292 GB, free: 7.918 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/1.128, allocations: 0.6919 MB / 1.292 GB, free: 7.223 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005395/1.133, allocations: 2.296 MB / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.133, allocations: 3.938 kB / 1.295 GB, free: 4.918 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.002e-06/1.133, allocations: 4 kB / 1.295 GB, free: 4.914 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.479e-05/1.133, allocations: 0 / 1.295 GB, free: 4.914 MB / 1.014 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.004283/1.137, allocations: 1.728 MB / 1.296 GB, free: 3.125 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.137, allocations: 8.031 kB / 1.296 GB, free: 3.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/1.14, allocations: 410.8 kB / 1.297 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/1.143, allocations: 1.163 MB / 1.298 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/1.143, allocations: 66 kB / 1.298 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/1.143, allocations: 80 kB / 1.298 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/1.145, allocations: 0.9937 MB / 1.299 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/1.145, allocations: 11.94 kB / 1.299 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/1.145, allocations: 32 kB / 1.299 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/1.145, allocations: 20 kB / 1.299 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/1.148, allocations: 0.8469 MB / 1.3 GB, free: 15.39 MB / 1.029 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.007621/1.156, allocations: 5.211 MB / 1.305 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/1.159, allocations: 0.7842 MB / 1.306 GB, free: 9.012 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/1.16, allocations: 292.7 kB / 1.306 GB, free: 8.723 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/1.16, allocations: 0.9102 MB / 1.307 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.161, allocations: 38.56 kB / 1.307 GB, free: 7.562 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.945e-06/1.161, allocations: 0 / 1.307 GB, free: 7.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.007346/1.168, allocations: 1.696 MB / 1.309 GB, free: 5.836 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/1.168, allocations: 55.41 kB / 1.309 GB, free: 5.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/1.17, allocations: 1.08 MB / 1.31 GB, free: 4.676 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.756e-05/1.17, allocations: 37.7 kB / 1.31 GB, free: 4.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/1.171, allocations: 0.5273 MB / 1.31 GB, free: 4.102 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/1.171, allocations: 149.8 kB / 1.31 GB, free: 3.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/1.171, allocations: 138.1 kB / 1.311 GB, free: 3.809 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.171, allocations: 337.9 kB / 1.311 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008814/1.172, allocations: 303.3 kB / 1.311 GB, free: 3.176 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.173, allocations: 0.529 MB / 1.312 GB, free: 2.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.175, allocations: 0.7096 MB / 1.312 GB, free: 1.766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.175, allocations: 4 kB / 1.312 GB, free: 1.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002937/1.178, allocations: 1.004 MB / 1.313 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.178, allocations: 16.02 kB / 1.313 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.178, allocations: 4 kB / 1.313 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.179, allocations: 300.7 kB / 1.314 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/1.18, allocations: 131.8 kB / 1.314 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/1.181, allocations: 0.8996 MB / 1.315 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.183, allocations: 151.2 kB / 1.315 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.183, allocations: 31.98 kB / 1.315 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/1.184, allocations: 0.509 MB / 1.315 GB, free: 14.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/1.185, allocations: 0.5251 MB / 1.316 GB, free: 14.06 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001665/1.187, allocations: 0.7061 MB / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.591e-06/1.187, allocations: 0 / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002841/1.19, allocations: 1.001 MB / 1.318 GB, free: 12.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.19, allocations: 4 kB / 1.318 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.19, allocations: 8 kB / 1.318 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/1.191, allocations: 302.5 kB / 1.318 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/1.191, allocations: 127.8 kB / 1.318 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/1.193, allocations: 0.8957 MB / 1.319 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.194, allocations: 135.6 kB / 1.319 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/1.194, allocations: 31.98 kB / 1.319 GB, free: 10.75 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.000277/1.195, allocations: 220.6 kB / 1.319 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/1.195, allocations: 114.5 kB / 1.319 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.197, allocations: 0.9184 MB / 1.32 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/1.197, allocations: 3.984 kB / 1.32 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.197, allocations: 4 kB / 1.32 GB, free: 9.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/1.198, allocations: 263.5 kB / 1.32 GB, free: 9.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/1.198, allocations: 12 kB / 1.321 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/1.199, allocations: 67.91 kB / 1.321 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/1.199, allocations: 24.41 kB / 1.321 GB, free: 9.094 MB / 1.045 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.002699/1.202, allocations: 0.763 MB / 1.321 GB, free: 8.328 MB / 1.045 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