Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0019/0.0019, allocations: 112.8 kB / 17.09 MB, free: 5.992 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.001988/0.001988, allocations: 194.9 kB / 18.03 MB, free: 5.066 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.94 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05867/0.2189, allocations: 61.16 MB / 0.6925 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.236, allocations: 12 MB / 0.7042 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.2384, allocations: 59.62 kB / 0.7042 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.2403, allocations: 0.6752 MB / 0.7049 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.246, allocations: 1.977 MB / 0.7068 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.2491, allocations: 1.201 MB / 0.708 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004368/0.2535, allocations: 3.101 MB / 0.711 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.2553, allocations: 1.116 MB / 0.7121 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.2588, allocations: 1.362 MB / 0.7135 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.2602, allocations: 0.914 MB / 0.7143 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.2604, allocations: 120 kB / 0.7145 GB, free: 400 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.2635, allocations: 1.454 MB / 0.7159 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.2638, allocations: 302.8 kB / 0.7162 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007598/0.2646, allocations: 0.6958 MB / 0.7168 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.2681, allocations: 2.322 MB / 0.7191 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2681, allocations: 7.984 kB / 0.7191 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2681, allocations: 0 / 0.7191 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.2681, allocations: 4 kB / 0.7191 GB, free: 11.6 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003752/0.2719, allocations: 1.738 MB / 0.7208 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.272, allocations: 8.031 kB / 0.7208 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.2745, allocations: 458.8 kB / 0.7213 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.2768, allocations: 1.179 MB / 0.7224 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.2769, allocations: 66 kB / 0.7225 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.277, allocations: 80 kB / 0.7226 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.2791, allocations: 0.9978 MB / 0.7235 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.2791, allocations: 0 / 0.7235 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.2792, allocations: 32 kB / 0.7236 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2792, allocations: 20 kB / 0.7236 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.2817, allocations: 0.9368 MB / 0.7245 GB, free: 5.945 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.006069/0.2877, allocations: 4.66 MB / 0.729 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004059/0.2918, allocations: 1.001 MB / 0.73 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.2929, allocations: 409.8 kB / 0.7304 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009868/0.2939, allocations: 1.013 MB / 0.7314 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2939, allocations: 39 kB / 0.7314 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.895e-06/0.2939, allocations: 0 / 0.7314 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007615/0.3015, allocations: 1.912 MB / 0.7333 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3016, allocations: 55.84 kB / 0.7334 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3029, allocations: 0.9474 MB / 0.7343 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.303, allocations: 37.7 kB / 0.7343 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.3034, allocations: 0.5118 MB / 0.7348 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.3036, allocations: 181.4 kB / 0.735 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.3038, allocations: 122.1 kB / 0.7351 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3039, allocations: 334 kB / 0.7354 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.305, allocations: 350.9 kB / 0.7358 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3061, allocations: 0.5008 MB / 0.7363 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.3081, allocations: 0.7618 MB / 0.737 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3081, allocations: 4 kB / 0.737 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002938/0.3111, allocations: 1.053 MB / 0.738 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3111, allocations: 8 kB / 0.738 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3111, allocations: 0 / 0.738 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.3124, allocations: 308.8 kB / 0.7383 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.313, allocations: 135.8 kB / 0.7385 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.3144, allocations: 0.8863 MB / 0.7393 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.3155, allocations: 119.4 kB / 0.7394 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/0.3156, allocations: 35.92 kB / 0.7395 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001389/0.317, allocations: 0.5479 MB / 0.74 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001152/0.3181, allocations: 0.5107 MB / 0.7405 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002044/0.3202, allocations: 0.7462 MB / 0.7412 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.3202, allocations: 0 / 0.7412 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003105/0.3233, allocations: 1.045 MB / 0.7423 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3233, allocations: 8 kB / 0.7423 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3234, allocations: 4 kB / 0.7423 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3245, allocations: 296.5 kB / 0.7426 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.3251, allocations: 127.8 kB / 0.7427 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3266, allocations: 0.8956 MB / 0.7436 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3278, allocations: 111.6 kB / 0.7437 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.3279, allocations: 27.98 kB / 0.7437 GB, free: 1.352 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.0002907/0.3282, allocations: 210.8 kB / 0.7439 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.3285, allocations: 106.7 kB / 0.744 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3772/0.7057, allocations: 1.145 MB / 0.7451 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/0.7058, allocations: 4.094 kB / 0.7451 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.7059, allocations: 0.5156 kB / 0.7451 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008616/0.7067, allocations: 275.4 kB / 0.7454 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.7071, allocations: 10.92 kB / 0.7454 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.7084, allocations: 75.33 kB / 0.7455 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.7085, allocations: 34.19 kB / 0.7455 GB, free: 109.2 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.004576/0.7131, allocations: 0.884 MB / 0.7464 GB, free: 109.1 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated