Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 115.6 kB / 17.09 MB, free: 6.008 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.001395/0.001395, allocations: 190.8 kB / 18.02 MB, free: 5.094 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.446/1.446, 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.7673/0.7673, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 68.66 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1473, allocations: 76.17 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06218/0.2095, allocations: 61.15 MB / 0.6925 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.229, allocations: 12 MB / 0.7042 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.2314, allocations: 55.69 kB / 0.7042 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.2335, allocations: 0.6752 MB / 0.7049 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.2398, allocations: 1.961 MB / 0.7068 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.2432, allocations: 1.215 MB / 0.708 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004948/0.2482, allocations: 3.095 MB / 0.711 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.2501, allocations: 1.088 MB / 0.7121 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.2538, allocations: 1.366 MB / 0.7134 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.2558, allocations: 0.9022 MB / 0.7143 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004072/0.2562, allocations: 116 kB / 0.7144 GB, free: 476 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003499/0.2597, allocations: 1.474 MB / 0.7158 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005063/0.2602, allocations: 298.8 kB / 0.7161 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.2617, allocations: 0.6919 MB / 0.7168 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.2667, allocations: 2.325 MB / 0.7191 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2668, allocations: 0 / 0.7191 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2668, allocations: 0 / 0.7191 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.343e-05/0.2668, allocations: 4 kB / 0.7191 GB, free: 11.66 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.004077/0.2709, allocations: 1.726 MB / 0.7208 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.271, allocations: 8.031 kB / 0.7208 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.2728, allocations: 339 kB / 0.7211 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.2755, allocations: 1.164 MB / 0.7222 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.2756, allocations: 69.94 kB / 0.7223 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.2757, allocations: 79.94 kB / 0.7224 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.2776, allocations: 0.9664 MB / 0.7233 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.2777, allocations: 3.938 kB / 0.7233 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.2777, allocations: 32 kB / 0.7234 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.2778, allocations: 20 kB / 0.7234 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.2797, allocations: 0.8001 MB / 0.7242 GB, free: 6.293 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.006409/0.2861, allocations: 5.141 MB / 0.7292 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.2876, allocations: 0.5737 MB / 0.7297 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.2882, allocations: 256.8 kB / 0.73 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.2896, allocations: 1.376 MB / 0.7313 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2896, allocations: 38.56 kB / 0.7314 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.2897, allocations: 4 kB / 0.7314 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00564/0.2953, allocations: 1.489 MB / 0.7328 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2953, allocations: 55.41 kB / 0.7329 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.2969, allocations: 1.08 MB / 0.7339 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.297, allocations: 37.7 kB / 0.734 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.2974, allocations: 0.5273 MB / 0.7345 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.2976, allocations: 153.8 kB / 0.7346 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.2978, allocations: 138.1 kB / 0.7348 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2979, allocations: 330 kB / 0.7351 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007572/0.2987, allocations: 283.3 kB / 0.7353 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009197/0.2996, allocations: 496 kB / 0.7358 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.301, allocations: 0.6627 MB / 0.7365 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.301, allocations: 7.938 kB / 0.7365 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002523/0.3036, allocations: 0.9538 MB / 0.7374 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3036, allocations: 9.719 kB / 0.7374 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.3036, allocations: 4 kB / 0.7374 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.3049, allocations: 316.6 kB / 0.7377 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.3054, allocations: 119.8 kB / 0.7378 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.3069, allocations: 0.8919 MB / 0.7387 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.308, allocations: 147.1 kB / 0.7388 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.3081, allocations: 35.98 kB / 0.7389 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0011/0.3092, allocations: 489.2 kB / 0.7393 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009496/0.3102, allocations: 0.4914 MB / 0.7398 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001454/0.3117, allocations: 0.6424 MB / 0.7404 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.004e-06/0.3117, allocations: 0 / 0.7404 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002533/0.3142, allocations: 0.9421 MB / 0.7414 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3143, allocations: 8 kB / 0.7414 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3143, allocations: 4 kB / 0.7414 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.3154, allocations: 300.7 kB / 0.7417 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.316, allocations: 119.8 kB / 0.7418 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.3174, allocations: 0.8995 MB / 0.7427 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3186, allocations: 119.6 kB / 0.7428 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3187, allocations: 31.98 kB / 0.7428 GB, free: 2.023 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0002824/0.319, allocations: 223.6 kB / 0.743 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.3193, allocations: 114.6 kB / 0.7431 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.3216, allocations: 0.8893 MB / 0.744 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3216, allocations: 11.92 kB / 0.744 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3216, allocations: 4 kB / 0.744 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.3221, allocations: 255.5 kB / 0.7443 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.3223, allocations: 8 kB / 0.7443 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/0.3231, allocations: 59.92 kB / 0.7443 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3232, allocations: 32.39 kB / 0.7444 GB, free: 408 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.3796/0.7029, allocations: 0.7234 MB / 0.7451 GB, free: 109.2 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL could not be translated