Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.008413/0.008413, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 20.23 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2531, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07056/0.3237, allocations: 73.43 MB / 0.8596 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.3434, allocations: 12.57 MB / 0.8719 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.3477, allocations: 55.62 kB / 0.8719 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.3512, allocations: 0.6721 MB / 0.8726 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009968/0.3612, allocations: 2.252 MB / 0.8748 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.3656, allocations: 1.275 MB / 0.876 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007632/0.3733, allocations: 5.508 MB / 0.8814 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.3759, allocations: 1.147 MB / 0.8825 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.3793, allocations: 1.322 MB / 0.8838 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.3818, allocations: 1.124 MB / 0.8849 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000551/0.3824, allocations: 56 kB / 0.8849 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.3865, allocations: 1.243 MB / 0.8862 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006343/0.3872, allocations: 286.6 kB / 0.8864 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.3888, allocations: 0.7983 MB / 0.8872 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.3937, allocations: 2.714 MB / 0.8899 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3937, allocations: 0 / 0.8899 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3938, allocations: 0 / 0.8899 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.619e-05/0.3938, allocations: 0 / 0.8899 GB, free: 2.797 MB / 0.7012 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.004213/0.3981, allocations: 1.78 MB / 0.8916 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3981, allocations: 8.031 kB / 0.8916 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/0.399, allocations: 246.8 kB / 0.8918 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.4015, allocations: 1.477 MB / 0.8933 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.4015, allocations: 78 kB / 0.8934 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.4017, allocations: 100 kB / 0.8935 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.4037, allocations: 1.124 MB / 0.8946 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4037, allocations: 0 / 0.8946 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.4038, allocations: 40 kB / 0.8946 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.4039, allocations: 31.92 kB / 0.8946 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.4058, allocations: 0.9368 MB / 0.8955 GB, free: 12.83 MB / 0.7169 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.006271/0.4121, allocations: 4.923 MB / 0.9003 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.4135, allocations: 0.639 MB / 0.901 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/0.4143, allocations: 374.3 kB / 0.9013 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007184/0.4151, allocations: 0.8238 MB / 0.9021 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.4151, allocations: 47.12 kB / 0.9022 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.646e-06/0.4151, allocations: 0 / 0.9022 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007974/0.4231, allocations: 1.888 MB / 0.904 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4232, allocations: 59.97 kB / 0.9041 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.4254, allocations: 1.205 MB / 0.9053 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.4255, allocations: 41.7 kB / 0.9053 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/0.4261, allocations: 0.5909 MB / 0.9059 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.4264, allocations: 216.9 kB / 0.9061 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4265, allocations: 61.69 kB / 0.9061 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4266, allocations: 337.9 kB / 0.9065 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.4273, allocations: 305.8 kB / 0.9068 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.4282, allocations: 0.5104 MB / 0.9072 GB, free: 188 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.4297, allocations: 0.7442 MB / 0.908 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4297, allocations: 0 / 0.908 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005032/0.4347, allocations: 1.406 MB / 0.9093 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.4349, allocations: 201 kB / 0.9095 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4349, allocations: 4 kB / 0.9095 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.4355, allocations: 148.7 kB / 0.9097 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.4361, allocations: 163.8 kB / 0.9098 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000875/0.437, allocations: 0.7123 MB / 0.9105 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4383, allocations: 167.1 kB / 0.9107 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.4384, allocations: 35.92 kB / 0.9107 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.4384, allocations: 7.938 kB / 0.9107 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004627/0.4431, allocations: 1.25 MB / 0.912 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.4431, allocations: 11.97 kB / 0.912 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/0.4436, allocations: 144.7 kB / 0.9121 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.4442, allocations: 167.8 kB / 0.9123 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007922/0.445, allocations: 0.7046 MB / 0.913 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.4463, allocations: 167.1 kB / 0.9131 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.4464, allocations: 32 kB / 0.9131 GB, free: 9.965 MB / 0.7325 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006458/0.4471, allocations: 427.3 kB / 0.9136 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.4473, allocations: 134.3 kB / 0.9137 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.4522, allocations: 1.396 MB / 0.915 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.4523, allocations: 11.98 kB / 0.9151 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4523, allocations: 0 / 0.9151 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004385/0.4567, allocations: 1.236 MB / 0.9163 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007158/0.4639, allocations: 2.731 MB / 0.9189 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.4639, allocations: 32 / 0.9189 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.4644, allocations: 127.8 kB / 0.9191 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/0.4649, allocations: 132.8 kB / 0.9192 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.465, allocations: 27.92 kB / 0.9192 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.47, allocations: 2.431 MB / 0.9216 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.47, allocations: 7.938 kB / 0.9216 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5658/1.036, allocations: 1.847 MB / 0.9234 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.037, allocations: 335.6 kB / 0.9237 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.037, allocations: 17.52 kB / 0.9237 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/1.038, allocations: 92.66 kB / 0.9238 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/1.038, allocations: 63.59 kB / 0.9239 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/1.038, allocations: 33.61 kB / 0.9239 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001652/1.04, allocations: 0.8629 MB / 0.9248 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.032e-06/1.04, allocations: 0 / 0.9248 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00242/1.042, allocations: 0.7116 MB / 0.9254 GB, free: 133.2 MB / 0.7325 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009819/1.043, allocations: 439.2 kB / 0.9259 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003093/1.047, allocations: 1.178 MB / 0.927 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.047, allocations: 1.156 kB / 0.927 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.048, allocations: 0.5981 MB / 0.9276 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.053, allocations: 0.7999 MB / 0.9284 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/1.056, allocations: 2.79 MB / 0.9311 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/1.057, allocations: 1.172 MB / 0.9323 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001334/1.058, allocations: 312.2 kB / 0.9326 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/1.059, allocations: 116.8 kB / 0.9327 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/1.059, allocations: 0 / 0.9327 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.0625/1.121, allocations: 32.07 MB / 0.964 GB, free: 118 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: