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.001269/0.001269, allocations: 115 kB / 17.09 MB, free: 5.988 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.001353/0.001353, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.44/1.44, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 65.81 kB / 0.5584 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1531, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06727/0.2204, allocations: 61.15 MB / 0.6925 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01815/0.2386, allocations: 12 MB / 0.7042 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.2409, allocations: 55.69 kB / 0.7042 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.2432, allocations: 0.6791 MB / 0.7049 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005791/0.249, allocations: 1.971 MB / 0.7068 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.2523, allocations: 1.2 MB / 0.708 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004473/0.2568, allocations: 3.096 MB / 0.711 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.2588, allocations: 1.096 MB / 0.7121 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.2623, allocations: 1.36 MB / 0.7134 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.264, allocations: 0.8984 MB / 0.7143 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000376/0.2644, allocations: 116 kB / 0.7144 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.2677, allocations: 1.458 MB / 0.7158 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005099/0.2682, allocations: 294.9 kB / 0.7161 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.2695, allocations: 0.6958 MB / 0.7168 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.2739, allocations: 2.298 MB / 0.719 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2739, allocations: 4 kB / 0.719 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2739, allocations: 0 / 0.719 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.507e-05/0.274, allocations: 0 / 0.719 GB, free: 11.71 MB / 0.5606 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.00385/0.2778, allocations: 1.726 MB / 0.7207 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2779, allocations: 8.031 kB / 0.7207 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.2797, allocations: 343 kB / 0.7211 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.2823, allocations: 1.16 MB / 0.7222 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.2824, allocations: 58 kB / 0.7222 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.2825, allocations: 84 kB / 0.7223 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.2846, allocations: 0.9702 MB / 0.7233 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2846, allocations: 4 kB / 0.7233 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.2847, allocations: 32 kB / 0.7233 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.2847, allocations: 20 kB / 0.7233 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.2868, allocations: 0.7923 MB / 0.7241 GB, free: 6.355 MB / 0.5606 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.006962/0.2937, allocations: 5.148 MB / 0.7291 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.2953, allocations: 0.558 MB / 0.7297 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.2959, allocations: 266.1 kB / 0.7299 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.2973, allocations: 1.376 MB / 0.7313 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.2973, allocations: 38.56 kB / 0.7313 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/0.2973, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006855/0.3042, allocations: 1.614 MB / 0.7329 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3042, allocations: 55.41 kB / 0.7329 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.3062, allocations: 1.076 MB / 0.734 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.3063, allocations: 37.7 kB / 0.734 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.3068, allocations: 0.5311 MB / 0.7345 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.3069, allocations: 153.8 kB / 0.7347 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3072, allocations: 138.1 kB / 0.7348 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3073, allocations: 329.9 kB / 0.7351 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007582/0.3081, allocations: 279.3 kB / 0.7354 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/0.3091, allocations: 0.4892 MB / 0.7359 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.3105, allocations: 0.6636 MB / 0.7365 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3106, allocations: 4 kB / 0.7365 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002511/0.3131, allocations: 0.9499 MB / 0.7375 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3131, allocations: 8.031 kB / 0.7375 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.3131, allocations: 8 kB / 0.7375 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.3145, allocations: 307.4 kB / 0.7378 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.3149, allocations: 119.9 kB / 0.7379 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.3164, allocations: 0.8996 MB / 0.7388 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.3176, allocations: 147.2 kB / 0.7389 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.3177, allocations: 31.98 kB / 0.7389 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001114/0.3188, allocations: 493.2 kB / 0.7394 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009334/0.3198, allocations: 497 kB / 0.7399 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/0.3212, allocations: 0.651 MB / 0.7405 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.535e-06/0.3212, allocations: 4 kB / 0.7405 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002469/0.3237, allocations: 0.9421 MB / 0.7414 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3237, allocations: 4 kB / 0.7414 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3237, allocations: 8 kB / 0.7414 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.3248, allocations: 300.7 kB / 0.7417 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.3253, allocations: 119.8 kB / 0.7418 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.3267, allocations: 0.8981 MB / 0.7427 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3278, allocations: 119.6 kB / 0.7428 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.3279, allocations: 35.98 kB / 0.7429 GB, free: 1.949 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.0002393/0.3282, allocations: 223.5 kB / 0.7431 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.3284, allocations: 114.6 kB / 0.7432 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.3312, allocations: 0.9885 MB / 0.7442 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3313, allocations: 7.922 kB / 0.7442 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.3313, allocations: 4 kB / 0.7442 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.3317, allocations: 255.6 kB / 0.7444 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.3319, allocations: 8 kB / 0.7444 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/0.3326, allocations: 59.92 kB / 0.7445 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.3327, allocations: 36.33 kB / 0.7445 GB, free: 228 kB / 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.3722/0.7049, allocations: 0.725 MB / 0.7452 GB, free: 109.6 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