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.001662/0.001662, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.001981/0.001981, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7319/0.7319, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.3 kB / 0.5577 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1467, allocations: 76.18 MB / 0.6321 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05856/0.2053, allocations: 61.16 MB / 0.6918 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.2221, allocations: 11.98 MB / 0.7035 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.224, allocations: 59.62 kB / 0.7036 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.2259, allocations: 0.6986 MB / 0.7042 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.2312, allocations: 2.071 MB / 0.7063 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.2344, allocations: 1.207 MB / 0.7074 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004231/0.2387, allocations: 3.095 MB / 0.7105 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.2402, allocations: 1.1 MB / 0.7115 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.2433, allocations: 1.366 MB / 0.7129 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.2448, allocations: 0.8983 MB / 0.7138 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.245, allocations: 116 kB / 0.7139 GB, free: 472 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.2482, allocations: 1.474 MB / 0.7153 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003403/0.2485, allocations: 298.8 kB / 0.7156 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008995/0.2494, allocations: 0.6919 MB / 0.7163 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.253, allocations: 2.325 MB / 0.7185 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.2531, allocations: 0 / 0.7185 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2531, allocations: 0 / 0.7185 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.017e-05/0.2531, allocations: 0 / 0.7185 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.003409/0.2565, allocations: 1.732 MB / 0.7202 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2566, allocations: 8.031 kB / 0.7202 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.2584, allocations: 347 kB / 0.7206 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.2606, allocations: 1.16 MB / 0.7217 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.2606, allocations: 62 kB / 0.7218 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2608, allocations: 79.94 kB / 0.7218 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.2627, allocations: 0.9703 MB / 0.7228 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2628, allocations: 3.938 kB / 0.7228 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/0.2628, allocations: 32 kB / 0.7228 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.2629, allocations: 20 kB / 0.7228 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.2649, allocations: 0.8001 MB / 0.7236 GB, free: 6.289 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.006136/0.271, allocations: 5.148 MB / 0.7286 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.2725, allocations: 0.5721 MB / 0.7292 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.2731, allocations: 274.4 kB / 0.7295 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.2745, allocations: 1.361 MB / 0.7308 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2746, allocations: 42.56 kB / 0.7308 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.2746, allocations: 0 / 0.7308 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00571/0.2803, allocations: 1.501 MB / 0.7323 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2804, allocations: 55.41 kB / 0.7324 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.2819, allocations: 1.072 MB / 0.7334 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.282, allocations: 41.64 kB / 0.7334 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/0.2824, allocations: 0.5235 MB / 0.734 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.2826, allocations: 157.8 kB / 0.7341 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.2828, allocations: 138.1 kB / 0.7342 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.283, allocations: 322 kB / 0.7345 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.2838, allocations: 283.3 kB / 0.7348 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009833/0.2847, allocations: 496 kB / 0.7353 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.2863, allocations: 0.6511 MB / 0.7359 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2863, allocations: 7.938 kB / 0.7359 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002451/0.2887, allocations: 0.9615 MB / 0.7369 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.2888, allocations: 8 kB / 0.7369 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.2888, allocations: 11.98 kB / 0.7369 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.29, allocations: 312.6 kB / 0.7372 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.2905, allocations: 123.8 kB / 0.7373 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.292, allocations: 0.8984 MB / 0.7382 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.2932, allocations: 147.2 kB / 0.7383 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/0.2932, allocations: 27.98 kB / 0.7383 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001144/0.2944, allocations: 493.2 kB / 0.7388 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009428/0.2953, allocations: 496.5 kB / 0.7393 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.2967, allocations: 0.6463 MB / 0.7399 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.2968, allocations: 0 / 0.7399 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00244/0.2992, allocations: 0.9344 MB / 0.7408 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2992, allocations: 8 kB / 0.7408 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2992, allocations: 7.984 kB / 0.7408 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3003, allocations: 300.7 kB / 0.7411 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.3008, allocations: 119.8 kB / 0.7412 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.3022, allocations: 0.8957 MB / 0.7421 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.3033, allocations: 119.6 kB / 0.7422 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.3034, allocations: 31.98 kB / 0.7423 GB, free: 2.02 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.0002192/0.3037, allocations: 231.5 kB / 0.7425 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.3038, allocations: 114.6 kB / 0.7426 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.3061, allocations: 0.8931 MB / 0.7435 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.3061, allocations: 12 kB / 0.7435 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3061, allocations: 3.984 kB / 0.7435 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3061, allocations: 0 / 0.7435 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3122/0.6183, allocations: 2.197 MB / 0.7456 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.6184, allocations: 3.062 kB / 0.7456 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.6186, allocations: 59.83 kB / 0.7457 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.6196, allocations: 292.9 kB / 0.746 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.6197, allocations: 16.31 kB / 0.746 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.621, allocations: 0.929 MB / 0.7469 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.621, allocations: 2.125 kB / 0.7469 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.6251, allocations: 1.236 MB / 0.7481 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.6256, allocations: 269.2 kB / 0.7484 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.6258, allocations: 11.62 kB / 0.7484 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007643/0.6265, allocations: 61.06 kB / 0.7484 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.6266, allocations: 34.11 kB / 0.7485 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.6267, allocations: 23.69 kB / 0.7485 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001217/0.6279, allocations: 0.7602 MB / 0.7492 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6279, allocations: 0 / 0.7492 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001594/0.6295, allocations: 0.5763 MB / 0.7498 GB, free: 108 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.0008231/0.6303, allocations: 408.5 kB / 0.7502 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002973/0.6333, allocations: 1.033 MB / 0.7512 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6333, allocations: 2.719 kB / 0.7512 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.6341, allocations: 322.8 kB / 0.7515 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.6362, allocations: 0.5122 MB / 0.752 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.6394, allocations: 1.825 MB / 0.7538 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/0.6401, allocations: 1.064 MB / 0.7548 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009736/0.6411, allocations: 227.8 kB / 0.755 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.6414, allocations: 82.84 kB / 0.7551 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.6414, allocations: 0.5 kB / 0.7551 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03357/0.675, allocations: 25.36 MB / 0.7799 GB, free: 89.66 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)