Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_latest_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.005339/0.005339, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001419/0.001419, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 482.6 MB / 0.755 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 77 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3228, allocations: 162.3 MB / 1.242 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D): time 0.09776/0.4206, allocations: 82.44 MB / 1.322 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02587/0.4466, allocations: 18.44 MB / 1.34 GB, free: 3.629 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.4499, allocations: 99.5 kB / 1.341 GB, free: 3.531 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.4529, allocations: 1.297 MB / 1.342 GB, free: 2.227 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006625/0.4596, allocations: 2.841 MB / 1.345 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.4641, allocations: 2.093 MB / 1.347 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006583/0.4707, allocations: 5.509 MB / 1.352 GB, free: 7.773 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/0.474, allocations: 2.537 MB / 1.355 GB, free: 5.176 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.4785, allocations: 2.332 MB / 1.357 GB, free: 2.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.4806, allocations: 1.676 MB / 1.358 GB, free: 1.156 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.481, allocations: 296 kB / 1.359 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.4847, allocations: 1.958 MB / 1.361 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006978/0.4854, allocations: 0.7203 MB / 1.361 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.4869, allocations: 1.458 MB / 1.363 GB, free: 12.72 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006295/0.4932, allocations: 5.03 MB / 1.368 GB, free: 7.672 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4932, allocations: 0 / 1.368 GB, free: 7.672 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4932, allocations: 4 kB / 1.368 GB, free: 7.668 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.317e-05/0.4933, allocations: 0 / 1.368 GB, free: 7.668 MB / 1.092 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.005057/0.4983, allocations: 3.256 MB / 1.371 GB, free: 4.32 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4984, allocations: 8.031 kB / 1.371 GB, free: 4.312 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002657/0.4987, allocations: 236.4 kB / 1.371 GB, free: 4.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009627/0.4996, allocations: 374 kB / 1.371 GB, free: 3.703 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/0.5035, allocations: 2.528 MB / 1.374 GB, free: 1.129 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5036, allocations: 131.2 kB / 1.374 GB, free: 1 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.5038, allocations: 176 kB / 1.374 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.5068, allocations: 1.727 MB / 1.376 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.5069, allocations: 7.938 kB / 1.376 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.507, allocations: 68 kB / 1.376 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.507, allocations: 40 kB / 1.376 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.5096, allocations: 1.254 MB / 1.377 GB, free: 13.66 MB / 1.107 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.008636/0.5183, allocations: 7.437 MB / 1.384 GB, free: 5.848 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5198, allocations: 0.6463 MB / 1.385 GB, free: 5.191 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/0.5206, allocations: 352.1 kB / 1.385 GB, free: 4.848 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/0.5216, allocations: 1.156 MB / 1.387 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.5217, allocations: 35.12 kB / 1.387 GB, free: 3.391 MB / 1.107 GB Notification: Performance of pre-optimization done (n=57): time 2.274e-06/0.5217, allocations: 4 kB / 1.387 GB, free: 3.387 MB / 1.107 GB Notification: Performance of matching and sorting (n=57): time 0.00249/0.5242, allocations: 1.056 MB / 1.388 GB, free: 2.32 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.5243, allocations: 111.4 kB / 1.388 GB, free: 2.188 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002643/0.5269, allocations: 2.037 MB / 1.39 GB, free: 124 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.527, allocations: 41.7 kB / 1.39 GB, free: 76 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.5281, allocations: 1.111 MB / 1.391 GB, free: 14.95 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.5283, allocations: 214.2 kB / 1.391 GB, free: 14.74 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.5286, allocations: 194.5 kB / 1.391 GB, free: 14.55 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5288, allocations: 341.9 kB / 1.392 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.5295, allocations: 328.7 kB / 1.392 GB, free: 13.88 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.5306, allocations: 0.6611 MB / 1.393 GB, free: 13.09 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.5323, allocations: 0.8926 MB / 1.393 GB, free: 12.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5324, allocations: 4 kB / 1.393 GB, free: 12.08 MB / 1.123 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002229/0.5346, allocations: 1.121 MB / 1.395 GB, free: 10.95 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5346, allocations: 8.531 kB / 1.395 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5346, allocations: 12 kB / 1.395 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.5347, allocations: 12 kB / 1.395 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.5354, allocations: 203.6 kB / 1.395 GB, free: 10.72 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.5354, allocations: 19.92 kB / 1.395 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5365, allocations: 174.9 kB / 1.395 GB, free: 10.53 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.5366, allocations: 43.98 kB / 1.395 GB, free: 10.49 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001332/0.5379, allocations: 0.7825 MB / 1.396 GB, free: 9.707 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.539, allocations: 0.6552 MB / 1.396 GB, free: 8.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001628/0.5406, allocations: 0.881 MB / 1.397 GB, free: 7.922 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.776e-06/0.5406, allocations: 0 / 1.397 GB, free: 7.922 MB / 1.123 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.002188/0.5428, allocations: 1.124 MB / 1.398 GB, free: 6.789 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5429, allocations: 8 kB / 1.398 GB, free: 6.781 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5429, allocations: 8 kB / 1.398 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5429, allocations: 12 kB / 1.398 GB, free: 6.762 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.5436, allocations: 208.2 kB / 1.399 GB, free: 6.559 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.5436, allocations: 15.98 kB / 1.399 GB, free: 6.543 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.5447, allocations: 139.5 kB / 1.399 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.5448, allocations: 43.98 kB / 1.399 GB, free: 6.363 MB / 1.123 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.0002254/0.545, allocations: 243.9 kB / 1.399 GB, free: 6.117 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.5453, allocations: 210.6 kB / 1.399 GB, free: 5.91 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.5474, allocations: 1.005 MB / 1.4 GB, free: 4.895 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.5475, allocations: 12 kB / 1.4 GB, free: 4.883 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5475, allocations: 0 / 1.4 GB, free: 4.883 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001575/0.549, allocations: 0.7593 MB / 1.401 GB, free: 4.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.5534, allocations: 2.786 MB / 1.404 GB, free: 1.195 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5534, allocations: 4.438 kB / 1.404 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.5539, allocations: 131.8 kB / 1.404 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.554, allocations: 8 kB / 1.404 GB, free: 1.055 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.554, allocations: 23.92 kB / 1.404 GB, free: 1.031 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.554, allocations: 4 kB / 1.404 GB, free: 1.027 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.554, allocations: 7.938 kB / 1.404 GB, free: 1.02 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.5568, allocations: 1.473 MB / 1.405 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/0.5573, allocations: 395.4 kB / 1.406 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.5575, allocations: 19.98 kB / 1.406 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008217/0.5583, allocations: 68 kB / 1.406 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.5585, allocations: 64.23 kB / 1.406 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.5586, allocations: 31.97 kB / 1.406 GB, free: 14.9 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001936/0.5605, allocations: 1.419 MB / 1.407 GB, free: 13.46 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.054e-06/0.5605, allocations: 0 / 1.407 GB, free: 13.46 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002112/0.5626, allocations: 1.005 MB / 1.408 GB, free: 12.46 MB / 1.139 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.004984/0.5676, allocations: 2.702 MB / 1.411 GB, free: 9.84 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.5703, allocations: 1.267 MB / 1.412 GB, free: 8.574 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5703, allocations: 0 / 1.412 GB, free: 8.574 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008995/0.5712, allocations: 407.2 kB / 1.412 GB, free: 8.176 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.575, allocations: 0.9287 MB / 1.413 GB, free: 7.262 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/0.596, allocations: 14.38 MB / 1.427 GB, free: 8.359 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.5973, allocations: 1.514 MB / 1.429 GB, free: 6.812 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001356/0.5987, allocations: 437.5 kB / 1.429 GB, free: 6.387 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.5999, allocations: 0.9131 MB / 1.43 GB, free: 5.473 MB / 1.154 GB Notification: Performance of SimCode: time 7.41e-07/0.5999, allocations: 0 / 1.43 GB, free: 5.473 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.013/1.613, allocations: 56.58 MB / 1.485 GB, free: 13.49 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/17, allocations: 15.75 kB / 1.485 GB, free: 13.47 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D.fmu > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe 2>&1)