Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001335/0.001335, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7344/0.7344, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.12 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1668, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.0664/0.2332, allocations: 61.12 MB / 0.6924 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01813/0.2514, allocations: 11.99 MB / 0.7041 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.2536, allocations: 67.56 kB / 0.7042 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.2558, allocations: 0.6947 MB / 0.7049 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006316/0.2622, allocations: 2.064 MB / 0.7069 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.266, allocations: 1.211 MB / 0.7081 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004964/0.271, allocations: 3.09 MB / 0.7111 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.273, allocations: 1.096 MB / 0.7122 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.2766, allocations: 1.368 MB / 0.7135 GB, free: 1.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.2784, allocations: 0.8944 MB / 0.7144 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004042/0.2788, allocations: 112 kB / 0.7145 GB, free: 412 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.2821, allocations: 1.443 MB / 0.7159 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.2827, allocations: 298.8 kB / 0.7162 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.2839, allocations: 0.6919 MB / 0.7168 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.2883, allocations: 2.287 MB / 0.7191 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2883, allocations: 0 / 0.7191 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2883, allocations: 0 / 0.7191 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.465e-05/0.2884, allocations: 0 / 0.7191 GB, free: 11.68 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.003708/0.2921, allocations: 1.732 MB / 0.7208 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2921, allocations: 8.031 kB / 0.7208 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.2945, allocations: 410.8 kB / 0.7212 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.297, allocations: 1.163 MB / 0.7223 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.2971, allocations: 62 kB / 0.7224 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.2972, allocations: 80 kB / 0.7224 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.2995, allocations: 1.005 MB / 0.7234 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.2995, allocations: 0 / 0.7234 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.2996, allocations: 32 kB / 0.7234 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.2996, allocations: 20 kB / 0.7235 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.302, allocations: 0.843 MB / 0.7243 GB, free: 6.16 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.007058/0.3091, allocations: 5.23 MB / 0.7294 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.3125, allocations: 0.7953 MB / 0.7302 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.3132, allocations: 283 kB / 0.7304 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/0.314, allocations: 0.9141 MB / 0.7313 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.314, allocations: 38.56 kB / 0.7314 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/0.314, allocations: 3.938 kB / 0.7314 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007018/0.321, allocations: 1.696 MB / 0.733 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3211, allocations: 55.41 kB / 0.7331 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.323, allocations: 1.08 MB / 0.7341 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.3231, allocations: 33.7 kB / 0.7342 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.3236, allocations: 0.5312 MB / 0.7347 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.3237, allocations: 149.8 kB / 0.7348 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.324, allocations: 142.1 kB / 0.735 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3241, allocations: 333.9 kB / 0.7353 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/0.325, allocations: 303.3 kB / 0.7356 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.3261, allocations: 0.5251 MB / 0.7361 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.3279, allocations: 0.7136 MB / 0.7368 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3279, allocations: 4 kB / 0.7368 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002869/0.3308, allocations: 1.012 MB / 0.7378 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.3308, allocations: 8 kB / 0.7378 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3308, allocations: 4 kB / 0.7378 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.3321, allocations: 304.5 kB / 0.7381 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.3327, allocations: 139.7 kB / 0.7382 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.3342, allocations: 0.8942 MB / 0.7391 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.3356, allocations: 155.2 kB / 0.7392 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.3357, allocations: 31.98 kB / 0.7393 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.337, allocations: 0.509 MB / 0.7398 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001091/0.3381, allocations: 0.5251 MB / 0.7403 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001648/0.3397, allocations: 0.7101 MB / 0.741 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.299e-06/0.3397, allocations: 0 / 0.741 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002825/0.3426, allocations: 1 MB / 0.7419 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3426, allocations: 4 kB / 0.7419 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3426, allocations: 8 kB / 0.742 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.3437, allocations: 300.6 kB / 0.7422 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.3443, allocations: 127.8 kB / 0.7424 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.3457, allocations: 0.9017 MB / 0.7432 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.347, allocations: 127.7 kB / 0.7434 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.3471, allocations: 35.98 kB / 0.7434 GB, free: 1.484 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002608/0.3473, allocations: 220.8 kB / 0.7436 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.3476, allocations: 110.6 kB / 0.7437 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.35, allocations: 0.9261 MB / 0.7446 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.3501, allocations: 8 kB / 0.7446 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3501, allocations: 0 / 0.7446 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3501, allocations: 3.984 kB / 0.7446 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3363/0.6864, allocations: 2.134 MB / 0.7467 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.6864, allocations: 6.75 kB / 0.7467 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.6867, allocations: 58.45 kB / 0.7468 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.6877, allocations: 287.9 kB / 0.7471 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.6878, allocations: 18.67 kB / 0.7471 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.6891, allocations: 0.9253 MB / 0.748 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6892, allocations: 2.875 kB / 0.748 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.6928, allocations: 1.143 MB / 0.7491 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.6934, allocations: 258.3 kB / 0.7493 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.6936, allocations: 13.95 kB / 0.7494 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008422/0.6944, allocations: 74.55 kB / 0.7494 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6945, allocations: 42.5 kB / 0.7495 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.6946, allocations: 24.48 kB / 0.7495 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001392/0.696, allocations: 0.7534 MB / 0.7502 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.696, allocations: 0 / 0.7502 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001959/0.698, allocations: 0.5723 MB / 0.7508 GB, free: 107.5 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 (33): * Single equations (assignments): 28 * 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.0008782/0.6989, allocations: 376.9 kB / 0.7511 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003483/0.7024, allocations: 1.124 MB / 0.7522 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.7024, allocations: 3.844 kB / 0.7522 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008983/0.7033, allocations: 343 kB / 0.7526 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.7059, allocations: 0.5128 MB / 0.7531 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.7115, allocations: 2.056 MB / 0.7551 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.7124, allocations: 1.065 MB / 0.7561 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.7128, allocations: 82.78 kB / 0.7562 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.71e-07/0.7128, allocations: 0.5938 kB / 0.7562 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.03433/0.7472, allocations: 24.07 MB / 0.7797 GB, free: 90.05 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)