Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 110.6 kB / 16.42 MB, free: 6.465 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.001231/0.001231, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002431/0.002431, allocations: 285.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 87.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4521, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05529/0.5074, allocations: 61.21 MB / 0.8268 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.5236, allocations: 12 MB / 0.8386 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.5256, allocations: 59.62 kB / 0.8386 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.5274, allocations: 0.683 MB / 0.8393 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.5327, allocations: 1.969 MB / 0.8412 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.536, allocations: 1.211 MB / 0.8424 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004968/0.541, allocations: 3.095 MB / 0.8454 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.5427, allocations: 1.112 MB / 0.8465 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.546, allocations: 1.368 MB / 0.8478 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.5477, allocations: 0.9061 MB / 0.8487 GB, free: 32 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.5479, allocations: 116 kB / 0.8488 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.5509, allocations: 1.45 MB / 0.8502 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.5512, allocations: 298.9 kB / 0.8505 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007427/0.5519, allocations: 0.7036 MB / 0.8512 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.5556, allocations: 2.324 MB / 0.8535 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5556, allocations: 0 / 0.8535 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5557, allocations: 0 / 0.8535 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.5557, allocations: 0 / 0.8535 GB, free: 11.14 MB / 0.6231 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.003056/0.5587, allocations: 1.754 MB / 0.8552 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5588, allocations: 8.031 kB / 0.8552 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.561, allocations: 410.8 kB / 0.8556 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.5632, allocations: 1.175 MB / 0.8567 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.5633, allocations: 58 kB / 0.8568 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5634, allocations: 84 kB / 0.8569 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.5655, allocations: 1.013 MB / 0.8579 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.5656, allocations: 3.938 kB / 0.8579 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.5657, allocations: 36 kB / 0.8579 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.5657, allocations: 20 kB / 0.8579 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.568, allocations: 0.8742 MB / 0.8588 GB, free: 5.531 MB / 0.6231 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.006291/0.5743, allocations: 5.25 MB / 0.8639 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003574/0.5779, allocations: 0.789 MB / 0.8647 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007818/0.5787, allocations: 304.6 kB / 0.865 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/0.5794, allocations: 0.9025 MB / 0.8659 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5794, allocations: 46.45 kB / 0.8659 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.5794, allocations: 0 / 0.8659 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.006352/0.5858, allocations: 1.6 MB / 0.8675 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.5858, allocations: 55.41 kB / 0.8675 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.5874, allocations: 1.088 MB / 0.8686 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.5875, allocations: 37.7 kB / 0.8686 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.5879, allocations: 0.535 MB / 0.8691 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.5881, allocations: 149.8 kB / 0.8693 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.5883, allocations: 142.1 kB / 0.8694 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5885, allocations: 330 kB / 0.8697 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009551/0.5894, allocations: 323.2 kB / 0.87 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.5906, allocations: 0.5408 MB / 0.8706 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.5924, allocations: 0.7299 MB / 0.8713 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5924, allocations: 7.938 kB / 0.8713 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00288/0.5953, allocations: 1.047 MB / 0.8723 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5953, allocations: 8 kB / 0.8723 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5954, allocations: 4 kB / 0.8723 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.5966, allocations: 320 kB / 0.8726 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.5972, allocations: 135.8 kB / 0.8728 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.5986, allocations: 0.9034 MB / 0.8736 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.5998, allocations: 155.2 kB / 0.8738 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.5999, allocations: 31.98 kB / 0.8738 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.6012, allocations: 0.5269 MB / 0.8743 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.6023, allocations: 0.533 MB / 0.8748 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001741/0.604, allocations: 0.7335 MB / 0.8756 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.604, allocations: 4 kB / 0.8756 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.0028/0.6068, allocations: 1.028 MB / 0.8766 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.6068, allocations: 7.938 kB / 0.8766 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6069, allocations: 8 kB / 0.8766 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.6079, allocations: 304.6 kB / 0.8769 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.6085, allocations: 131.8 kB / 0.877 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.6099, allocations: 0.8918 MB / 0.8779 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.6111, allocations: 143.5 kB / 0.878 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.6112, allocations: 35.98 kB / 0.878 GB, free: 0.7109 MB / 0.6387 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 (58): * Single equations (assignments): 57 * 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.0002231/0.6115, allocations: 220.5 kB / 0.8783 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.6116, allocations: 114.6 kB / 0.8784 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.615, allocations: 1.085 MB / 0.8794 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.615, allocations: 0 / 0.8794 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.615, allocations: 0 / 0.8794 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.6154, allocations: 263.5 kB / 0.8797 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.6155, allocations: 12 kB / 0.8797 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008062/0.6163, allocations: 75.89 kB / 0.8798 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.6164, allocations: 36.33 kB / 0.8798 GB, free: 14.88 MB / 0.6544 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.002882/0.6193, allocations: 0.7838 MB / 0.8806 GB, free: 14.1 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature could not be translated