Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 108 kB / 15.6 MB, free: 132 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.001526/0.001526, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.486/1.486, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.41 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3464, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D): time 0.08184/0.4282, allocations: 82.31 MB / 1.149 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.4565, allocations: 18.44 MB / 1.167 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.4618, allocations: 99.5 kB / 1.167 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.4663, allocations: 1.297 MB / 1.168 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009534/0.4759, allocations: 2.849 MB / 1.171 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006436/0.4823, allocations: 2.071 MB / 1.173 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007803/0.4901, allocations: 5.488 MB / 1.178 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004324/0.4945, allocations: 2.544 MB / 1.181 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.4992, allocations: 2.14 MB / 1.183 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.502, allocations: 1.672 MB / 1.184 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007943/0.5028, allocations: 296 kB / 1.185 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006036/0.5088, allocations: 1.977 MB / 1.187 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.5105, allocations: 0.7281 MB / 1.187 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003743/0.5143, allocations: 1.443 MB / 1.189 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008832/0.5231, allocations: 4.927 MB / 1.193 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5232, allocations: 0 / 1.193 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5232, allocations: 0 / 1.193 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001293/0.5233, allocations: 0 / 1.193 GB, free: 9.758 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.006757/0.5301, allocations: 3.147 MB / 1.197 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5301, allocations: 16.03 kB / 1.197 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.5315, allocations: 360.4 kB / 1.197 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.5361, allocations: 2.416 MB / 1.199 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.5363, allocations: 131.2 kB / 1.199 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.5366, allocations: 172 kB / 1.2 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.5405, allocations: 1.727 MB / 1.201 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.5406, allocations: 4 kB / 1.201 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.5408, allocations: 68 kB / 1.201 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.5409, allocations: 44 kB / 1.201 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.544, allocations: 1.258 MB / 1.203 GB, free: 228 kB / 0.9512 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.0128/0.5569, allocations: 7.489 MB / 1.21 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.5585, allocations: 0.6424 MB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007457/0.5593, allocations: 361.4 kB / 1.211 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000925/0.5603, allocations: 1.152 MB / 1.212 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5603, allocations: 43.12 kB / 1.212 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 2.795e-06/0.5603, allocations: 3.938 kB / 1.212 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.002876/0.5632, allocations: 1.027 MB / 1.213 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.5633, allocations: 115.4 kB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/0.5669, allocations: 2.013 MB / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.567, allocations: 41.7 kB / 1.215 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.5682, allocations: 1.093 MB / 1.216 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.5685, allocations: 205.1 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.5688, allocations: 194.5 kB / 1.217 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5689, allocations: 349.9 kB / 1.217 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.5697, allocations: 320.7 kB / 1.217 GB, free: 456 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.5708, allocations: 0.6553 MB / 1.218 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.5725, allocations: 0.9043 MB / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.5725, allocations: 0 / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002636/0.5752, allocations: 1.112 MB / 1.22 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.5752, allocations: 8 kB / 1.22 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.5752, allocations: 8 kB / 1.22 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.5753, allocations: 12 kB / 1.22 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.576, allocations: 203.7 kB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.5761, allocations: 19.92 kB / 1.22 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5776, allocations: 170.7 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5777, allocations: 39.98 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001572/0.5793, allocations: 0.7713 MB / 1.221 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001018/0.5803, allocations: 0.6552 MB / 1.222 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001646/0.582, allocations: 0.8887 MB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.844e-06/0.582, allocations: 4 kB / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.002556/0.5846, allocations: 1.104 MB / 1.224 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5846, allocations: 9.406 kB / 1.224 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5846, allocations: 8.531 kB / 1.224 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.5847, allocations: 16 kB / 1.224 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.5854, allocations: 207.7 kB / 1.224 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.5855, allocations: 23.92 kB / 1.224 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.587, allocations: 139.3 kB / 1.224 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.5871, allocations: 43.98 kB / 1.224 GB, free: 8.941 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 9 (chi.eff.swiCoo.u2,chi.eff.swiHea.u2,chi.eff.hea,chi.notCoo.y,chi.conCoo.y,chi.eff.hys.y,$PRE.chi.eff.hys.y,chi.hys.y,$PRE.chi.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.5874, allocations: 240.6 kB / 1.224 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/0.5879, allocations: 213.4 kB / 1.224 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.5904, allocations: 1.008 MB / 1.225 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5904, allocations: 11.98 kB / 1.225 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5904, allocations: 0 / 1.225 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.5919, allocations: 0.7554 MB / 1.226 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/0.5969, allocations: 2.781 MB / 1.229 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.597, allocations: 4 kB / 1.229 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.5975, allocations: 127.8 kB / 1.229 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.5976, allocations: 8.438 kB / 1.229 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.5976, allocations: 23.98 kB / 1.229 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.5976, allocations: 11.94 kB / 1.229 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5976, allocations: 4 kB / 1.229 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.6005, allocations: 1.452 MB / 1.231 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/0.6013, allocations: 374.5 kB / 1.231 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/0.6017, allocations: 19.98 kB / 1.231 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.6028, allocations: 59.94 kB / 1.231 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.603, allocations: 72.22 kB / 1.231 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.6031, allocations: 27.98 kB / 1.231 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00292/0.606, allocations: 1.411 MB / 1.232 GB, free: 108 kB / 0.9825 GB Notification: Performance of sort global known variables: time 6.91e-07/0.606, allocations: 0 / 1.232 GB, free: 108 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003573/0.6096, allocations: 0.9891 MB / 1.233 GB, free: 15.11 MB / 0.9981 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: 2 (chi.hys.y,chi.eff.hys.y) * Number of discrete states: 2 (chi.eff.hys.y,chi.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001953/0.6116, allocations: 0.7803 MB / 1.234 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003145/0.6148, allocations: 1.302 MB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.6148, allocations: 1.062 kB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009183/0.6157, allocations: 410.6 kB / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/0.6202, allocations: 0.939 MB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.6269, allocations: 3.618 MB / 1.24 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.6284, allocations: 1.522 MB / 1.242 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001981/0.6304, allocations: 425.1 kB / 1.242 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.6308, allocations: 163.4 kB / 1.242 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.6308, allocations: 0 / 1.242 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of Templates: time 0.6766/1.307, allocations: 36.98 MB / 1.278 GB, free: 164.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe 2>&1)