Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 113.3 kB / 17.09 MB, free: 5.957 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.001323/0.001323, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.443/1.443, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7801/0.7801, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.92 kB / 0.5738 GB, free: 27.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1326, allocations: 78.7 MB / 0.6506 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06279/0.1954, allocations: 61.16 MB / 0.7103 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.2112, allocations: 12 MB / 0.7221 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.2129, allocations: 59.62 kB / 0.7221 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.2147, allocations: 0.6909 MB / 0.7228 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.2195, allocations: 2.066 MB / 0.7248 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.2224, allocations: 1.208 MB / 0.726 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003873/0.2262, allocations: 3.095 MB / 0.729 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.2276, allocations: 1.096 MB / 0.7301 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.2303, allocations: 1.363 MB / 0.7314 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.2315, allocations: 0.8984 MB / 0.7323 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.2317, allocations: 116 kB / 0.7324 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.235, allocations: 1.462 MB / 0.7338 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.2354, allocations: 294.9 kB / 0.7341 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009239/0.2363, allocations: 0.6919 MB / 0.7348 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.2397, allocations: 2.312 MB / 0.737 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2398, allocations: 0 / 0.737 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2398, allocations: 4 kB / 0.737 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.2398, allocations: 3.938 kB / 0.7371 GB, free: 11.36 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003027/0.2428, allocations: 1.775 MB / 0.7388 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.2429, allocations: 8.031 kB / 0.7388 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.2446, allocations: 355.5 kB / 0.7391 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.2469, allocations: 1.16 MB / 0.7403 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.2469, allocations: 69.94 kB / 0.7403 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2471, allocations: 84 kB / 0.7404 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.2489, allocations: 0.9624 MB / 0.7413 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2489, allocations: 3.938 kB / 0.7414 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.249, allocations: 35.98 kB / 0.7414 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.249, allocations: 27.94 kB / 0.7414 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.251, allocations: 0.7962 MB / 0.7422 GB, free: 5.906 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.00638/0.2573, allocations: 5.126 MB / 0.7472 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3729/0.6302, allocations: 0.5733 MB / 0.7478 GB, free: 94.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.631, allocations: 265.6 kB / 0.748 GB, free: 94.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.6322, allocations: 1.367 MB / 0.7493 GB, free: 93.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.6322, allocations: 38.56 kB / 0.7494 GB, free: 93.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.976e-06/0.6322, allocations: 0 / 0.7494 GB, free: 93.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006989/0.6392, allocations: 1.619 MB / 0.751 GB, free: 92.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.6393, allocations: 60.34 kB / 0.751 GB, free: 92.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.641, allocations: 1.078 MB / 0.7521 GB, free: 92.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.641, allocations: 37.2 kB / 0.7521 GB, free: 92.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.6414, allocations: 0.5391 MB / 0.7526 GB, free: 92.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.6416, allocations: 160.1 kB / 0.7528 GB, free: 92.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.6418, allocations: 132.3 kB / 0.7529 GB, free: 92.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.6419, allocations: 330.9 kB / 0.7532 GB, free: 91.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/0.6426, allocations: 276 kB / 0.7535 GB, free: 91.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.6437, allocations: 0.497 MB / 0.754 GB, free: 91.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.6452, allocations: 0.67 MB / 0.7546 GB, free: 91.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6452, allocations: 1.594 kB / 0.7546 GB, free: 91.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002561/0.6478, allocations: 0.9613 MB / 0.7556 GB, free: 90.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.6478, allocations: 7.25 kB / 0.7556 GB, free: 90.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.6478, allocations: 4.75 kB / 0.7556 GB, free: 90.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.6492, allocations: 303.3 kB / 0.7559 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.6497, allocations: 122.7 kB / 0.756 GB, free: 90.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.6511, allocations: 0.8962 MB / 0.7569 GB, free: 89.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.6522, allocations: 146.8 kB / 0.757 GB, free: 89.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/0.6523, allocations: 38.11 kB / 0.757 GB, free: 89.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001266/0.6536, allocations: 488.4 kB / 0.7575 GB, free: 89.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.6547, allocations: 0.4887 MB / 0.758 GB, free: 89.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001467/0.6562, allocations: 0.6474 MB / 0.7586 GB, free: 88.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.6562, allocations: 2.25 kB / 0.7586 GB, free: 88.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00238/0.6586, allocations: 0.9476 MB / 0.7595 GB, free: 88.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6586, allocations: 9.531 kB / 0.7596 GB, free: 88.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6586, allocations: 8.562 kB / 0.7596 GB, free: 88.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6597, allocations: 297 kB / 0.7598 GB, free: 88.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.6603, allocations: 124 kB / 0.76 GB, free: 88.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.662, allocations: 0.8996 MB / 0.7608 GB, free: 87.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6633, allocations: 127.5 kB / 0.761 GB, free: 87.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.6634, allocations: 30.05 kB / 0.761 GB, free: 87.87 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0003233/0.6637, allocations: 215.4 kB / 0.7612 GB, free: 87.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.6639, allocations: 120.8 kB / 0.7613 GB, free: 87.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.6671, allocations: 0.9927 MB / 0.7623 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6671, allocations: 6.969 kB / 0.7623 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.6671, allocations: 0 / 0.7623 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.6675, allocations: 264.8 kB / 0.7625 GB, free: 87.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6676, allocations: 10.94 kB / 0.7626 GB, free: 87.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.6683, allocations: 62.92 kB / 0.7626 GB, free: 87.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.6684, allocations: 28.92 kB / 0.7626 GB, free: 87.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.002411/0.6708, allocations: 0.7247 MB / 0.7633 GB, free: 86.79 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity could not be translated