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.001491/0.001491, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 197.1 kB / 16.64 MB, free: 6.445 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 4.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.871/1.871, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001422/0.001422, allocations: 67.78 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3066, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08941/0.3961, allocations: 75.17 MB / 0.8575 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.4188, allocations: 12.63 MB / 0.8699 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003883/0.4227, allocations: 63.62 kB / 0.8699 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.4255, allocations: 0.8345 MB / 0.8707 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009017/0.4346, allocations: 2.445 MB / 0.8731 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.4392, allocations: 1.395 MB / 0.8745 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007874/0.4471, allocations: 4.35 MB / 0.8787 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.4498, allocations: 1.449 MB / 0.8802 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005055/0.4549, allocations: 1.625 MB / 0.8817 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.4576, allocations: 1.186 MB / 0.8829 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003397/0.458, allocations: 164 kB / 0.8831 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/0.4623, allocations: 1.412 MB / 0.8844 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006025/0.4629, allocations: 394.6 kB / 0.8848 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.4645, allocations: 0.9099 MB / 0.8857 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005905/0.4704, allocations: 2.863 MB / 0.8885 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.4705, allocations: 0 / 0.8885 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.826e-06/0.4705, allocations: 0 / 0.8885 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.985e-05/0.4706, allocations: 0 / 0.8885 GB, free: 1.512 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.005764/0.4763, allocations: 2.083 MB / 0.8905 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.4764, allocations: 8.031 kB / 0.8905 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.4774, allocations: 234.7 kB / 0.8908 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.4802, allocations: 1.5 MB / 0.8922 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.4803, allocations: 78 kB / 0.8923 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.4804, allocations: 100 kB / 0.8924 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.4827, allocations: 1.104 MB / 0.8935 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.4828, allocations: 0 / 0.8935 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/0.4829, allocations: 48 kB / 0.8935 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.4829, allocations: 24 kB / 0.8935 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.4848, allocations: 0.8861 MB / 0.8944 GB, free: 11.3 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.006616/0.4914, allocations: 4.923 MB / 0.8992 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.4929, allocations: 0.6128 MB / 0.8998 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.4936, allocations: 354.3 kB / 0.9001 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009085/0.4945, allocations: 0.8238 MB / 0.901 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.4946, allocations: 43.11 kB / 0.901 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 4.679e-06/0.4946, allocations: 4 kB / 0.901 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007077/0.5017, allocations: 1.681 MB / 0.9026 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.5018, allocations: 55.97 kB / 0.9027 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.5038, allocations: 1.221 MB / 0.9039 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.504, allocations: 41.7 kB / 0.9039 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/0.5045, allocations: 0.5986 MB / 0.9045 GB, free: 400 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.5048, allocations: 208.9 kB / 0.9047 GB, free: 188 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.5051, allocations: 158.5 kB / 0.9049 GB, free: 24 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.5053, allocations: 345.9 kB / 0.9052 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/0.5059, allocations: 284.7 kB / 0.9055 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/0.5068, allocations: 499.8 kB / 0.9059 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.5082, allocations: 0.709 MB / 0.9066 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.5082, allocations: 4 kB / 0.9066 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004644/0.5129, allocations: 1.265 MB / 0.9079 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5129, allocations: 8 kB / 0.9079 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5129, allocations: 4.375 kB / 0.9079 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.5135, allocations: 136.7 kB / 0.908 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.5142, allocations: 163.7 kB / 0.9082 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008524/0.515, allocations: 0.7005 MB / 0.9089 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5162, allocations: 119 kB / 0.909 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.5163, allocations: 40.05 kB / 0.909 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001395/0.5177, allocations: 0.5515 MB / 0.9095 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009469/0.5187, allocations: 498.8 kB / 0.91 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001395/0.5201, allocations: 0.6973 MB / 0.9107 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.5201, allocations: 4 kB / 0.9107 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004691/0.5248, allocations: 1.269 MB / 0.9119 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5248, allocations: 4 kB / 0.9119 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5248, allocations: 4 kB / 0.912 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.5253, allocations: 137.1 kB / 0.9121 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.526, allocations: 159.8 kB / 0.9122 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007818/0.5268, allocations: 0.6928 MB / 0.9129 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.5279, allocations: 103.4 kB / 0.913 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/0.5279, allocations: 35.98 kB / 0.913 GB, free: 7.293 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.0002748/0.5282, allocations: 220.2 kB / 0.9133 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.5285, allocations: 134.3 kB / 0.9134 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.533, allocations: 1.267 MB / 0.9146 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.5331, allocations: 8 kB / 0.9146 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5331, allocations: 0 / 0.9146 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003872/0.5369, allocations: 1.096 MB / 0.9157 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.544, allocations: 2.617 MB / 0.9183 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.544, allocations: 4 kB / 0.9183 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.5445, allocations: 119.8 kB / 0.9184 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/0.545, allocations: 133 kB / 0.9185 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.5451, allocations: 19.98 kB / 0.9185 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6273/1.172, allocations: 2.574 MB / 0.921 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.172, allocations: 4.828 kB / 0.921 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006906/1.179, allocations: 1.703 MB / 0.9227 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.18, allocations: 304.3 kB / 0.923 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/1.181, allocations: 13.17 kB / 0.923 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/1.182, allocations: 52.69 kB / 0.9231 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.182, allocations: 62.05 kB / 0.9231 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.182, allocations: 33.8 kB / 0.9231 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002064/1.184, allocations: 0.8839 MB / 0.924 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.11e-07/1.184, allocations: 0 / 0.924 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003877/1.188, allocations: 0.7201 MB / 0.9247 GB, free: 134.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.001243/1.189, allocations: 446.1 kB / 0.9251 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003007/1.192, allocations: 1.123 MB / 0.9262 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.192, allocations: 6.75 kB / 0.9262 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.194, allocations: 0.5609 MB / 0.9268 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004405/1.198, allocations: 0.8092 MB / 0.9276 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/1.204, allocations: 2.26 MB / 0.9298 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.206, allocations: 1.166 MB / 0.9309 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001905/1.207, allocations: 307 kB / 0.9312 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.208, allocations: 108.4 kB / 0.9313 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.282e-06/1.208, allocations: 0 / 0.9313 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.07432/1.282, allocations: 32.35 MB / 0.9629 GB, free: 118.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (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)