Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.57/1.57, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 181.4 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007543/0.0007543, allocations: 82.42 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003042, allocations: 9.281 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.04023/0.1935, allocations: 59.78 MB / 0.9598 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.208, allocations: 11.78 MB / 0.9713 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.2097, allocations: 51.62 kB / 0.9714 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.2114, allocations: 0.5477 MB / 0.9719 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004817/0.2162, allocations: 1.783 MB / 0.9737 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.2192, allocations: 1.1 MB / 0.9747 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004533/0.2237, allocations: 3.89 MB / 0.9785 GB, free: 324 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.2252, allocations: 0.898 MB / 0.9794 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.2275, allocations: 1.124 MB / 0.9805 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.229, allocations: 0.8631 MB / 0.9813 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.2292, allocations: 44 kB / 0.9814 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.2319, allocations: 1.318 MB / 0.9827 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.2322, allocations: 218.8 kB / 0.9829 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.2331, allocations: 0.6311 MB / 0.9835 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.2352, allocations: 1.696 MB / 0.9852 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2353, allocations: 0 / 0.9852 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2353, allocations: 0 / 0.9852 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.373e-05/0.2353, allocations: 0 / 0.9852 GB, free: 9.473 MB / 0.6355 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.002964/0.2383, allocations: 1.501 MB / 0.9866 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2383, allocations: 8.031 kB / 0.9866 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.2401, allocations: 383 kB / 0.987 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.2425, allocations: 1.14 MB / 0.9881 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/0.2429, allocations: 125.9 kB / 0.9882 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.243, allocations: 80 kB / 0.9883 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.2449, allocations: 0.9683 MB / 0.9892 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.245, allocations: 4 kB / 0.9893 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.245, allocations: 31.98 kB / 0.9893 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.2451, allocations: 20 kB / 0.9893 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.2472, allocations: 0.8665 MB / 0.9901 GB, free: 4.203 MB / 0.6355 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.006134/0.2534, allocations: 4.549 MB / 0.9946 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.255, allocations: 0.6464 MB / 0.9952 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.2557, allocations: 308.5 kB / 0.9955 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.2571, allocations: 1.385 MB / 0.9969 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2572, allocations: 46.94 kB / 0.9969 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/0.2572, allocations: 0 / 0.9969 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.007141/0.2643, allocations: 1.904 MB / 0.9988 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.2644, allocations: 55.84 kB / 0.9988 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.266, allocations: 1.056 MB / 0.9999 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.2661, allocations: 37.7 kB / 0.9999 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.2665, allocations: 0.5274 MB / 1 GB, free: 9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2667, allocations: 165.6 kB / 1.001 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.2667, allocations: 12 kB / 1.001 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2668, allocations: 334 kB / 1.001 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008184/0.2677, allocations: 296.9 kB / 1.001 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009707/0.2686, allocations: 499.2 kB / 1.002 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.2702, allocations: 0.6739 MB / 1.002 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2702, allocations: 4 kB / 1.002 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002526/0.2727, allocations: 1.011 MB / 1.003 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.2728, allocations: 192.4 kB / 1.003 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2729, allocations: 11.92 kB / 1.003 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.2741, allocations: 333.5 kB / 1.004 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.2747, allocations: 119.8 kB / 1.004 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.2762, allocations: 0.9446 MB / 1.005 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.2774, allocations: 179.2 kB / 1.005 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/0.2775, allocations: 27.98 kB / 1.005 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.2776, allocations: 4 kB / 1.005 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002317/0.2799, allocations: 0.8775 MB / 1.006 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2799, allocations: 4 kB / 1.006 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.281, allocations: 320.9 kB / 1.006 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.2815, allocations: 123.8 kB / 1.006 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.283, allocations: 0.9413 MB / 1.007 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.2841, allocations: 163.2 kB / 1.007 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.2842, allocations: 27.98 kB / 1.007 GB, free: 1.543 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0005297/0.2847, allocations: 353 kB / 1.008 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.2849, allocations: 110.6 kB / 1.008 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.2885, allocations: 1.12 MB / 1.009 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.2885, allocations: 8 kB / 1.009 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2885, allocations: 0 / 1.009 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.2886, allocations: 7.984 kB / 1.009 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/0.2937, allocations: 2.212 MB / 1.011 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2937, allocations: 3.938 kB / 1.011 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.294, allocations: 67.89 kB / 1.011 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.295, allocations: 324.8 kB / 1.012 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.2951, allocations: 19.94 kB / 1.012 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.2965, allocations: 0.9726 MB / 1.012 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2966, allocations: 3.938 kB / 1.013 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/0.3, allocations: 1.243 MB / 1.014 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.3005, allocations: 279.4 kB / 1.014 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.3007, allocations: 23.92 kB / 1.014 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/0.3016, allocations: 99.84 kB / 1.014 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.3017, allocations: 35.95 kB / 1.014 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.3017, allocations: 23.98 kB / 1.014 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001159/0.3029, allocations: 0.7508 MB / 1.015 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3029, allocations: 0 / 1.015 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001414/0.3043, allocations: 0.5692 MB / 1.015 GB, free: 9.129 MB / 0.6667 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 (37): * Single equations (assignments): 32 * 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.0007927/0.3051, allocations: 383.2 kB / 1.016 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.308, allocations: 1.112 MB / 1.017 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.308, allocations: 0 / 1.017 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008221/0.3088, allocations: 351.1 kB / 1.017 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.3115, allocations: 0.5262 MB / 1.018 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.3151, allocations: 2.312 MB / 1.02 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.3158, allocations: 1.066 MB / 1.021 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.316, allocations: 83.42 kB / 1.021 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of SimCode: time 3.51e-07/0.3161, allocations: 0 / 1.021 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of Templates: time 0.03147/0.3475, allocations: 24.01 MB / 1.045 GB, free: 11.34 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)