Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001163/0.001163, allocations: 179.9 kB / 326.5 MB, free: 2.73 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.625/1.625, allocations: 205 MB / 0.5766 GB, free: 21.03 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.000704/0.0007042, allocations: 91.92 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8.625 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 105.4 MB / 0.8967 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05342/0.2299, allocations: 74.41 MB / 0.9694 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.2471, allocations: 12.66 MB / 0.9818 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.2496, allocations: 59.62 kB / 0.9818 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2519, allocations: 0.6682 MB / 0.9825 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006765/0.2587, allocations: 2.26 MB / 0.9847 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.2622, allocations: 1.236 MB / 0.9859 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006654/0.2689, allocations: 5.488 MB / 0.9912 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.271, allocations: 1.128 MB / 0.9923 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.274, allocations: 1.337 MB / 0.9936 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.2764, allocations: 1.132 MB / 0.9948 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003873/0.2768, allocations: 59.94 kB / 0.9948 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.2801, allocations: 1.259 MB / 0.996 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.2806, allocations: 278.6 kB / 0.9963 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.2819, allocations: 0.7771 MB / 0.9971 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.2848, allocations: 2.151 MB / 0.9992 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2848, allocations: 4 kB / 0.9992 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2848, allocations: 0 / 0.9992 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.271e-05/0.2849, allocations: 3.938 kB / 0.9992 GB, free: 10.97 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003421/0.2883, allocations: 1.779 MB / 1.001 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2883, allocations: 8.031 kB / 1.001 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.2891, allocations: 234.9 kB / 1.001 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.2915, allocations: 1.481 MB / 1.003 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.2916, allocations: 77.98 kB / 1.003 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.2918, allocations: 103.9 kB / 1.003 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.2938, allocations: 1.112 MB / 1.004 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.2938, allocations: 0 / 1.004 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.2939, allocations: 44 kB / 1.004 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.2939, allocations: 31.92 kB / 1.004 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.2959, allocations: 0.9251 MB / 1.005 GB, free: 5.023 MB / 0.6511 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.006152/0.302, allocations: 4.915 MB / 1.01 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.3034, allocations: 0.6511 MB / 1.01 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.3041, allocations: 374.3 kB / 1.011 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.3048, allocations: 0.8277 MB / 1.011 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3048, allocations: 43.11 kB / 1.011 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 2.454e-06/0.3048, allocations: 0 / 1.011 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.00714/0.312, allocations: 1.9 MB / 1.013 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.312, allocations: 59.97 kB / 1.013 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.3138, allocations: 1.205 MB / 1.015 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.3139, allocations: 41.64 kB / 1.015 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.3145, allocations: 0.5987 MB / 1.015 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.3147, allocations: 216.8 kB / 1.015 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3148, allocations: 65.67 kB / 1.015 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.315, allocations: 338 kB / 1.016 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.3156, allocations: 301.8 kB / 1.016 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000851/0.3165, allocations: 0.5028 MB / 1.017 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.3179, allocations: 0.7588 MB / 1.017 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.318, allocations: 0 / 1.017 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004753/0.3227, allocations: 1.414 MB / 1.019 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.3229, allocations: 189 kB / 1.019 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3229, allocations: 4 kB / 1.019 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000692/0.3236, allocations: 164.7 kB / 1.019 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.3242, allocations: 171.7 kB / 1.019 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008718/0.3251, allocations: 0.7202 MB / 1.02 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3264, allocations: 171.1 kB / 1.02 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.3265, allocations: 31.98 kB / 1.02 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.3265, allocations: 7.938 kB / 1.02 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004484/0.331, allocations: 1.257 MB / 1.021 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.331, allocations: 4 kB / 1.021 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.3316, allocations: 172.8 kB / 1.021 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.3322, allocations: 167.8 kB / 1.022 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008189/0.333, allocations: 0.7279 MB / 1.022 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.3343, allocations: 174.1 kB / 1.023 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.3344, allocations: 31.98 kB / 1.023 GB, free: 2.047 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006008/0.335, allocations: 412.9 kB / 1.023 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.3352, allocations: 134.4 kB / 1.023 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/0.3398, allocations: 1.416 MB / 1.024 GB, free: 72 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.3399, allocations: 15.92 kB / 1.024 GB, free: 56 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3399, allocations: 0 / 1.024 GB, free: 56 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004188/0.3441, allocations: 1.24 MB / 1.026 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.3505, allocations: 2.742 MB / 1.028 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.3506, allocations: 4 kB / 1.028 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.3511, allocations: 119.8 kB / 1.028 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005868/0.3517, allocations: 161.1 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.3517, allocations: 16 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007655/0.3525, allocations: 0.7279 MB / 1.029 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3525, allocations: 4 kB / 1.029 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/0.3578, allocations: 1.856 MB / 1.031 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/0.3584, allocations: 303.2 kB / 1.031 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.3586, allocations: 23.98 kB / 1.031 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/0.3595, allocations: 99.91 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3596, allocations: 52.25 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.3597, allocations: 27.98 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001191/0.3609, allocations: 0.8697 MB / 1.032 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3609, allocations: 0 / 1.032 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001691/0.3626, allocations: 0.7017 MB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008521/0.3634, allocations: 464.1 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.3661, allocations: 1.172 MB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3661, allocations: 4 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009105/0.367, allocations: 411.2 kB / 1.035 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/0.3711, allocations: 0.8054 MB / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.3753, allocations: 2.794 MB / 1.039 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/0.3761, allocations: 1.169 MB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.3765, allocations: 115.4 kB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of SimCode: time 7.02e-07/0.3765, allocations: 0 / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of Templates: time 0.3724/0.749, allocations: 30.61 MB / 1.07 GB, free: 141.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)