Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001613, 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.001704/0.001704, allocations: 197.6 kB / 16.53 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.412/2.412, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 64.77 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2318, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D): time 0.07499/0.3069, allocations: 82.32 MB / 1.144 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02262/0.3295, allocations: 18.42 MB / 1.162 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.3321, allocations: 95.5 kB / 1.163 GB, free: 9.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.3348, allocations: 1.293 MB / 1.164 GB, free: 7.707 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005782/0.3406, allocations: 2.851 MB / 1.167 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004025/0.3446, allocations: 2.07 MB / 1.169 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005747/0.3503, allocations: 5.492 MB / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.3533, allocations: 2.548 MB / 1.176 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.3565, allocations: 2.139 MB / 1.179 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.3581, allocations: 1.676 MB / 1.18 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003334/0.3585, allocations: 296 kB / 1.18 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.3615, allocations: 1.973 MB / 1.182 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.3621, allocations: 0.7242 MB / 1.183 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.3633, allocations: 1.458 MB / 1.185 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.3678, allocations: 4.947 MB / 1.189 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3678, allocations: 4 kB / 1.189 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3678, allocations: 0 / 1.189 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.3678, allocations: 0 / 1.189 GB, free: 13.43 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.00412/0.3719, allocations: 3.157 MB / 1.192 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.372, allocations: 12.03 kB / 1.192 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002455/0.3722, allocations: 228.4 kB / 1.193 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/0.3731, allocations: 364.4 kB / 1.193 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.3763, allocations: 2.443 MB / 1.195 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3764, allocations: 131.2 kB / 1.196 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.3766, allocations: 171.9 kB / 1.196 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.3792, allocations: 1.715 MB / 1.197 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.3792, allocations: 0 / 1.197 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.3794, allocations: 75.94 kB / 1.197 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.3794, allocations: 48 kB / 1.198 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.3817, allocations: 1.246 MB / 1.199 GB, free: 3.645 MB / 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.00763/0.3894, allocations: 7.501 MB / 1.206 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3908, allocations: 0.6501 MB / 1.207 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.3915, allocations: 350.8 kB / 1.207 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008414/0.3924, allocations: 1.156 MB / 1.208 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3924, allocations: 43.12 kB / 1.208 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 3.246e-06/0.3924, allocations: 3.984 kB / 1.208 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.002187/0.3946, allocations: 1.035 MB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3947, allocations: 111.4 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.397, allocations: 2.033 MB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.3971, allocations: 45.7 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008912/0.398, allocations: 1.093 MB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.3982, allocations: 201.2 kB / 1.213 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.3984, allocations: 198.5 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3985, allocations: 345.9 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.3992, allocations: 324.7 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/0.4002, allocations: 0.6572 MB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4017, allocations: 0.8965 MB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.4017, allocations: 4 kB / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001974/0.4037, allocations: 1.108 MB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4037, allocations: 8 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4038, allocations: 8 kB / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4038, allocations: 16 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.4045, allocations: 219.9 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.4045, allocations: 19.88 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/0.4055, allocations: 162.7 kB / 1.216 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.4055, allocations: 47.98 kB / 1.216 GB, free: 448 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0012/0.4068, allocations: 0.7713 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009482/0.4077, allocations: 0.6514 MB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001495/0.4092, allocations: 0.8887 MB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.389e-06/0.4092, allocations: 4 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001955/0.4112, allocations: 1.104 MB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.4112, allocations: 12.06 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4112, allocations: 8 kB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4112, allocations: 19.92 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.4119, allocations: 211.6 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4119, allocations: 12 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009992/0.4129, allocations: 135.3 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.413, allocations: 39.98 kB / 1.22 GB, free: 12.33 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.0001974/0.4132, allocations: 259.8 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.4135, allocations: 205.5 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.4154, allocations: 1.011 MB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.4154, allocations: 7.984 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4154, allocations: 0 / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.4168, allocations: 0.7554 MB / 1.222 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.4206, allocations: 2.79 MB / 1.225 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4206, allocations: 4 kB / 1.225 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.4211, allocations: 136.2 kB / 1.225 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4212, allocations: 4 kB / 1.225 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.4212, allocations: 19.98 kB / 1.225 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.4212, allocations: 8 kB / 1.225 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4212, allocations: 7.938 kB / 1.225 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.4237, allocations: 1.46 MB / 1.227 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.4242, allocations: 386.3 kB / 1.227 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4244, allocations: 23.98 kB / 1.227 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/0.4252, allocations: 55.94 kB / 1.227 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4253, allocations: 76.28 kB / 1.227 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.4254, allocations: 27.98 kB / 1.227 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001686/0.4271, allocations: 1.423 MB / 1.229 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4271, allocations: 0 / 1.229 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001829/0.4289, allocations: 0.993 MB / 1.23 GB, free: 2.434 MB / 0.9825 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.004382/0.4333, allocations: 2.676 MB / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.4358, allocations: 1.298 MB / 1.234 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4358, allocations: 4 kB / 1.234 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.4366, allocations: 408.1 kB / 1.234 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.4399, allocations: 0.931 MB / 1.235 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3633/0.8033, allocations: 16.36 MB / 1.251 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/0.8041, allocations: 1.518 MB / 1.252 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001433/0.8056, allocations: 425.1 kB / 1.253 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/0.8064, allocations: 0.9212 MB / 1.254 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.8064, allocations: 0.6562 kB / 1.254 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.758/2.565, allocations: 55.94 MB / 1.308 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/13.44, allocations: 5.781 kB / 1.308 GB, free: 146.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D.fmu > Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe 2>&1)