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.001516/0.001516, allocations: 115 kB / 17.08 MB, free: 6 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.001675/0.001675, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7733/0.7733, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.44 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 76.19 MB / 0.6327 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06178/0.2129, allocations: 61.15 MB / 0.6925 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.2306, allocations: 11.99 MB / 0.7042 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.2334, allocations: 59.62 kB / 0.7042 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.2361, allocations: 0.6791 MB / 0.7049 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.2432, allocations: 1.963 MB / 0.7068 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003732/0.247, allocations: 1.209 MB / 0.708 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005249/0.2522, allocations: 3.087 MB / 0.711 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.2545, allocations: 1.096 MB / 0.7121 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.2585, allocations: 1.366 MB / 0.7134 GB, free: 1.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.2606, allocations: 0.8984 MB / 0.7143 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000464/0.261, allocations: 119.9 kB / 0.7144 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.2647, allocations: 1.474 MB / 0.7158 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005216/0.2653, allocations: 294.9 kB / 0.7161 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.2667, allocations: 0.688 MB / 0.7168 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.272, allocations: 2.329 MB / 0.7191 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.272, allocations: 0 / 0.7191 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.725e-06/0.272, allocations: 0 / 0.7191 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.214e-05/0.2721, allocations: 0 / 0.7191 GB, free: 11.77 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.004427/0.2765, allocations: 1.73 MB / 0.7208 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.2766, allocations: 8.031 kB / 0.7208 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.2785, allocations: 347 kB / 0.7211 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.2814, allocations: 1.16 MB / 0.7222 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.259e-05/0.2815, allocations: 62 kB / 0.7223 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.2817, allocations: 76 kB / 0.7224 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.284, allocations: 0.9742 MB / 0.7233 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.284, allocations: 7.938 kB / 0.7233 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/0.2841, allocations: 32 kB / 0.7233 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.2841, allocations: 23.98 kB / 0.7234 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.2863, allocations: 0.7923 MB / 0.7241 GB, free: 6.398 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.007424/0.2937, allocations: 5.152 MB / 0.7292 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.2953, allocations: 0.5668 MB / 0.7297 GB, free: 304 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.296, allocations: 266.9 kB / 0.73 GB, free: 36 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/0.2974, allocations: 1.373 MB / 0.7313 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.2975, allocations: 42.55 kB / 0.7314 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.497e-06/0.2975, allocations: 0 / 0.7314 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.005926/0.3034, allocations: 1.489 MB / 0.7328 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.3035, allocations: 63.41 kB / 0.7329 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.3056, allocations: 1.068 MB / 0.7339 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.3057, allocations: 37.7 kB / 0.734 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.3061, allocations: 0.5274 MB / 0.7345 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3063, allocations: 157.8 kB / 0.7346 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.3065, allocations: 138.1 kB / 0.7348 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3067, allocations: 326 kB / 0.7351 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/0.3074, allocations: 279.3 kB / 0.7353 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/0.3084, allocations: 0.4922 MB / 0.7358 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.3099, allocations: 0.6511 MB / 0.7364 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.3099, allocations: 0 / 0.7364 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002628/0.3125, allocations: 0.9655 MB / 0.7374 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.3125, allocations: 11.98 kB / 0.7374 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.3126, allocations: 4 kB / 0.7374 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.3139, allocations: 312.5 kB / 0.7377 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.3144, allocations: 119.8 kB / 0.7378 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.3159, allocations: 0.9023 MB / 0.7387 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3171, allocations: 143.2 kB / 0.7388 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.3172, allocations: 31.98 kB / 0.7389 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/0.3183, allocations: 497.2 kB / 0.7393 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009243/0.3193, allocations: 492.5 kB / 0.7398 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001403/0.3207, allocations: 0.6424 MB / 0.7404 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.56e-06/0.3207, allocations: 8 kB / 0.7404 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002534/0.3233, allocations: 0.9344 MB / 0.7414 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3233, allocations: 8 kB / 0.7414 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3233, allocations: 7.938 kB / 0.7414 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.3245, allocations: 296.6 kB / 0.7417 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.3249, allocations: 127.7 kB / 0.7418 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.3263, allocations: 0.8918 MB / 0.7426 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.3276, allocations: 119.6 kB / 0.7428 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.3277, allocations: 31.98 kB / 0.7428 GB, free: 2.129 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.0002573/0.3279, allocations: 227.5 kB / 0.743 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.3283, allocations: 114.6 kB / 0.7431 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.3306, allocations: 0.8971 MB / 0.744 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.3306, allocations: 11.98 kB / 0.744 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.3306, allocations: 0 / 0.744 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3307, allocations: 3.984 kB / 0.744 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3487/0.6793, allocations: 2.199 MB / 0.7462 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.6794, allocations: 2.781 kB / 0.7462 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.6796, allocations: 57.16 kB / 0.7462 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.6807, allocations: 291.2 kB / 0.7465 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.6807, allocations: 15.23 kB / 0.7465 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.6821, allocations: 0.9294 MB / 0.7474 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6821, allocations: 6.062 kB / 0.7474 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/0.6864, allocations: 1.237 MB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/0.6869, allocations: 263.3 kB / 0.7489 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.6871, allocations: 16.16 kB / 0.7489 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.6878, allocations: 60.14 kB / 0.749 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.6879, allocations: 37.92 kB / 0.749 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.688, allocations: 27.38 kB / 0.749 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001235/0.6892, allocations: 0.753 MB / 0.7498 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6893, allocations: 0 / 0.7498 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001687/0.6909, allocations: 0.5815 MB / 0.7503 GB, free: 107.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.692, allocations: 410.4 kB / 0.7507 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.6954, allocations: 1.037 MB / 0.7517 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6954, allocations: 0 / 0.7517 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.6962, allocations: 315.7 kB / 0.752 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.6985, allocations: 0.513 MB / 0.7525 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.7017, allocations: 1.854 MB / 0.7543 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.7023, allocations: 1.067 MB / 0.7554 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.7026, allocations: 83.05 kB / 0.7555 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.7026, allocations: 0.5312 kB / 0.7555 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03192/0.7345, allocations: 24.33 MB / 0.7792 GB, free: 90.48 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)