Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 113.1 kB / 16.42 MB, free: 6.488 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.001632/0.001632, allocations: 186.5 kB / 17.35 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8668/0.8668, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.86 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1375, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06052/0.1981, allocations: 61.2 MB / 0.7361 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.2142, allocations: 12 MB / 0.7478 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.216, allocations: 59.62 kB / 0.7478 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2179, allocations: 0.6986 MB / 0.7485 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3167/0.5346, allocations: 2.059 MB / 0.7505 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.5375, allocations: 1.203 MB / 0.7517 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.5416, allocations: 3.106 MB / 0.7547 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.5434, allocations: 1.125 MB / 0.7558 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.5466, allocations: 1.357 MB / 0.7572 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.5481, allocations: 0.9242 MB / 0.7581 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.5483, allocations: 119.7 kB / 0.7582 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.5515, allocations: 1.452 MB / 0.7596 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.5518, allocations: 297.5 kB / 0.7599 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000819/0.5526, allocations: 0.7011 MB / 0.7606 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.5561, allocations: 2.436 MB / 0.763 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5562, allocations: 5.375 kB / 0.763 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5562, allocations: 0.5938 kB / 0.763 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.5562, allocations: 4 kB / 0.763 GB, free: 18.32 MB / 0.5762 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.003252/0.5595, allocations: 1.741 MB / 0.7647 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5595, allocations: 8.188 kB / 0.7647 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.562, allocations: 457.6 kB / 0.7651 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.564, allocations: 1.175 MB / 0.7663 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.5641, allocations: 71.94 kB / 0.7663 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5642, allocations: 81.78 kB / 0.7664 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.5663, allocations: 0.9998 MB / 0.7674 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.5664, allocations: 0.7031 kB / 0.7674 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.5665, allocations: 28.69 kB / 0.7674 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.5665, allocations: 19.88 kB / 0.7674 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.5689, allocations: 0.9336 MB / 0.7683 GB, free: 16.74 MB / 0.5762 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.005126/0.5741, allocations: 4.667 MB / 0.7729 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.5782, allocations: 0.9919 MB / 0.7739 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.5792, allocations: 404.9 kB / 0.7742 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.58, allocations: 1.029 MB / 0.7753 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.58, allocations: 36.59 kB / 0.7753 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.465e-06/0.58, allocations: 1.125 kB / 0.7753 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007709/0.5877, allocations: 1.902 MB / 0.7771 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.5878, allocations: 56.5 kB / 0.7772 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.5891, allocations: 0.9537 MB / 0.7781 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.5892, allocations: 38.67 kB / 0.7782 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.5896, allocations: 0.5024 MB / 0.7787 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.5897, allocations: 190.1 kB / 0.7788 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.5899, allocations: 128.8 kB / 0.779 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.59, allocations: 330.7 kB / 0.7793 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.591, allocations: 353.3 kB / 0.7796 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.5922, allocations: 0.5098 MB / 0.7801 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.5942, allocations: 0.7501 MB / 0.7808 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5942, allocations: 0 / 0.7808 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002929/0.5971, allocations: 1.05 MB / 0.7819 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5972, allocations: 6.062 kB / 0.7819 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5972, allocations: 2.094 kB / 0.7819 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.5984, allocations: 312.1 kB / 0.7822 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.5991, allocations: 130 kB / 0.7823 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.6004, allocations: 0.8987 MB / 0.7832 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.6015, allocations: 125 kB / 0.7833 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.6016, allocations: 32.38 kB / 0.7833 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/0.6028, allocations: 0.5489 MB / 0.7839 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/0.6038, allocations: 0.5031 MB / 0.7844 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001828/0.6057, allocations: 0.7465 MB / 0.7851 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.245e-06/0.6057, allocations: 0 / 0.7851 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002666/0.6083, allocations: 1.046 MB / 0.7861 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.6084, allocations: 11.28 kB / 0.7861 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6084, allocations: 2.5 kB / 0.7861 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.6094, allocations: 290.8 kB / 0.7864 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.61, allocations: 135.8 kB / 0.7865 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.6112, allocations: 0.8899 MB / 0.7874 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.6123, allocations: 109.6 kB / 0.7875 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.6123, allocations: 32.94 kB / 0.7875 GB, free: 8.945 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0001978/0.6125, allocations: 219.6 kB / 0.7877 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.6127, allocations: 115.4 kB / 0.7879 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.6157, allocations: 1.137 MB / 0.789 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.6157, allocations: 7.047 kB / 0.789 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.6157, allocations: 3.938 kB / 0.789 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.6161, allocations: 275 kB / 0.7892 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.6162, allocations: 20.02 kB / 0.7893 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/0.6171, allocations: 75.45 kB / 0.7893 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.6172, allocations: 34.7 kB / 0.7894 GB, free: 8.02 MB / 0.5762 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.002991/0.6202, allocations: 0.8766 MB / 0.7902 GB, free: 7.574 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated