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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001629/0.001629, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.002293/0.002293, allocations: 183.9 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.453/1.453, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8811/0.8826, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06634/0.949, allocations: 61.21 MB / 1.286 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.9744, allocations: 12 MB / 1.298 GB, free: 4.027 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.9774, allocations: 55.69 kB / 1.298 GB, free: 3.973 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.9804, allocations: 0.7025 MB / 1.299 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008423/0.9888, allocations: 2.068 MB / 1.301 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.9933, allocations: 1.203 MB / 1.302 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00622/0.9996, allocations: 3.091 MB / 1.305 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/1.002, allocations: 1.088 MB / 1.306 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005132/1.008, allocations: 1.367 MB / 1.307 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/1.01, allocations: 0.8945 MB / 1.308 GB, free: 9.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006691/1.011, allocations: 112 kB / 1.308 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005088/1.016, allocations: 1.447 MB / 1.31 GB, free: 7.945 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006587/1.017, allocations: 302.8 kB / 1.31 GB, free: 7.648 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/1.018, allocations: 0.6919 MB / 1.311 GB, free: 6.953 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00562/1.024, allocations: 2.309 MB / 1.313 GB, free: 4.645 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.024, allocations: 0 / 1.313 GB, free: 4.645 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/1.024, allocations: 0 / 1.313 GB, free: 4.645 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.564e-05/1.024, allocations: 0 / 1.313 GB, free: 4.645 MB / 1.029 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.004401/1.029, allocations: 1.767 MB / 1.315 GB, free: 2.816 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.029, allocations: 8.031 kB / 1.315 GB, free: 2.809 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/1.031, allocations: 411.6 kB / 1.315 GB, free: 2.406 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/1.034, allocations: 1.176 MB / 1.316 GB, free: 1.172 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.534e-05/1.035, allocations: 62 kB / 1.316 GB, free: 1.113 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/1.035, allocations: 80 kB / 1.316 GB, free: 1.035 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/1.037, allocations: 1.007 MB / 1.317 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.037, allocations: 0 / 1.317 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/1.037, allocations: 32 kB / 1.317 GB, free: 15.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.037, allocations: 20 kB / 1.317 GB, free: 15.92 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/1.04, allocations: 0.8508 MB / 1.318 GB, free: 15.07 MB / 1.045 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.007766/1.047, allocations: 5.223 MB / 1.323 GB, free: 9.473 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003455/1.051, allocations: 0.7925 MB / 1.324 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007248/1.052, allocations: 299.4 kB / 1.324 GB, free: 8.375 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007937/1.052, allocations: 0.9102 MB / 1.325 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.052, allocations: 38.56 kB / 1.325 GB, free: 7.215 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/1.052, allocations: 0 / 1.325 GB, free: 7.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.006901/1.059, allocations: 1.696 MB / 1.327 GB, free: 5.488 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/1.059, allocations: 59.34 kB / 1.327 GB, free: 5.418 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.061, allocations: 1.076 MB / 1.328 GB, free: 4.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.93e-05/1.061, allocations: 37.7 kB / 1.328 GB, free: 4.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/1.062, allocations: 0.5398 MB / 1.328 GB, free: 3.742 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/1.062, allocations: 166.6 kB / 1.329 GB, free: 3.578 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/1.062, allocations: 130.3 kB / 1.329 GB, free: 3.441 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.063, allocations: 337.9 kB / 1.329 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/1.063, allocations: 299.3 kB / 1.329 GB, free: 2.812 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.065, allocations: 0.529 MB / 1.33 GB, free: 2.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/1.066, allocations: 0.7135 MB / 1.331 GB, free: 1.398 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.066, allocations: 0 / 1.331 GB, free: 1.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00269/1.069, allocations: 1.013 MB / 1.332 GB, free: 384 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.069, allocations: 8 kB / 1.332 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.069, allocations: 4 kB / 1.332 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/1.07, allocations: 306.8 kB / 1.332 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/1.071, allocations: 127.8 kB / 1.332 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/1.072, allocations: 0.8996 MB / 1.333 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.074, allocations: 155.4 kB / 1.333 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/1.074, allocations: 35.98 kB / 1.333 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001257/1.075, allocations: 0.5051 MB / 1.334 GB, free: 14.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/1.076, allocations: 0.529 MB / 1.334 GB, free: 13.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/1.078, allocations: 0.7022 MB / 1.335 GB, free: 12.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/1.078, allocations: 0 / 1.335 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002766/1.081, allocations: 1.009 MB / 1.336 GB, free: 11.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.081, allocations: 4 kB / 1.336 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.081, allocations: 8.031 kB / 1.336 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.082, allocations: 299.3 kB / 1.336 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/1.082, allocations: 131.8 kB / 1.336 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/1.084, allocations: 0.8996 MB / 1.337 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.085, allocations: 131.7 kB / 1.337 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/1.085, allocations: 31.98 kB / 1.337 GB, free: 10.38 MB / 1.061 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.0002618/1.085, allocations: 221.8 kB / 1.337 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/1.086, allocations: 119.2 kB / 1.338 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.088, allocations: 0.9184 MB / 1.338 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.088, allocations: 0 / 1.338 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.088, allocations: 4 kB / 1.338 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/1.089, allocations: 264.2 kB / 1.339 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.089, allocations: 12 kB / 1.339 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/1.09, allocations: 71.91 kB / 1.339 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/1.09, allocations: 28.39 kB / 1.339 GB, free: 8.703 MB / 1.061 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.002724/1.092, allocations: 0.763 MB / 1.34 GB, free: 7.941 MB / 1.061 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