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.004642/0.004642, allocations: 103 kB / 15.74 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.001596/0.001596, allocations: 189.3 kB / 16.67 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.286/1.286, 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 11.1.0-maint.11.x/package.mo): time 2.358/2.358, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 63.91 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.5795, allocations: 159.1 MB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D): time 0.07344/0.6529, allocations: 82.31 MB / 1.301 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.675, allocations: 18.44 MB / 1.319 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.6771, allocations: 99.5 kB / 1.319 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.6794, allocations: 1.292 MB / 1.32 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.6844, allocations: 2.85 MB / 1.323 GB, free: 8.641 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.688, allocations: 2.079 MB / 1.325 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004863/0.6929, allocations: 5.514 MB / 1.33 GB, free: 1.051 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.6955, allocations: 2.544 MB / 1.333 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.6985, allocations: 2.146 MB / 1.335 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.7001, allocations: 1.694 MB / 1.336 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.7004, allocations: 296 kB / 1.337 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.7033, allocations: 1.973 MB / 1.339 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005697/0.7039, allocations: 0.7203 MB / 1.339 GB, free: 7.609 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.7051, allocations: 1.454 MB / 1.341 GB, free: 6.148 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004747/0.7098, allocations: 5.022 MB / 1.346 GB, free: 1.109 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7098, allocations: 0 / 1.346 GB, free: 1.109 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7098, allocations: 3.938 kB / 1.346 GB, free: 1.105 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.7099, allocations: 0 / 1.346 GB, free: 1.105 MB / 1.061 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.004099/0.714, allocations: 3.253 MB / 1.349 GB, free: 13.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.714, allocations: 8.031 kB / 1.349 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002351/0.7143, allocations: 232.4 kB / 1.349 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.7151, allocations: 378 kB / 1.349 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.7184, allocations: 2.528 MB / 1.352 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.7185, allocations: 131.2 kB / 1.352 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.7187, allocations: 164 kB / 1.352 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.7213, allocations: 1.727 MB / 1.354 GB, free: 8.484 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.7213, allocations: 4 kB / 1.354 GB, free: 8.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.7214, allocations: 64 kB / 1.354 GB, free: 8.418 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.7215, allocations: 51.94 kB / 1.354 GB, free: 8.367 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.7238, allocations: 1.258 MB / 1.355 GB, free: 7.105 MB / 1.076 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.007276/0.7311, allocations: 7.438 MB / 1.363 GB, free: 15.29 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.7324, allocations: 0.6463 MB / 1.363 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.7331, allocations: 362.2 kB / 1.363 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007858/0.7339, allocations: 1.156 MB / 1.365 GB, free: 12.86 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.7339, allocations: 43.11 kB / 1.365 GB, free: 12.81 MB / 1.092 GB Notification: Performance of pre-optimization done (n=57): time 1.613e-06/0.7339, allocations: 0 / 1.365 GB, free: 12.81 MB / 1.092 GB Notification: Performance of matching and sorting (n=57): time 0.002151/0.7361, allocations: 1.04 MB / 1.366 GB, free: 11.77 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.7362, allocations: 107.4 kB / 1.366 GB, free: 11.64 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.7384, allocations: 2.037 MB / 1.368 GB, free: 9.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.7385, allocations: 45.7 kB / 1.368 GB, free: 9.52 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008718/0.7394, allocations: 1.107 MB / 1.369 GB, free: 8.402 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.7395, allocations: 214.2 kB / 1.369 GB, free: 8.191 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.7398, allocations: 206.5 kB / 1.369 GB, free: 7.984 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7399, allocations: 337.9 kB / 1.37 GB, free: 7.648 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.7406, allocations: 328.6 kB / 1.37 GB, free: 7.324 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009431/0.7416, allocations: 0.6589 MB / 1.371 GB, free: 6.527 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.7431, allocations: 0.8927 MB / 1.371 GB, free: 5.523 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7431, allocations: 4 kB / 1.371 GB, free: 5.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001944/0.745, allocations: 1.121 MB / 1.373 GB, free: 4.391 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.745, allocations: 11.94 kB / 1.373 GB, free: 4.379 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7451, allocations: 8 kB / 1.373 GB, free: 4.371 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.7451, allocations: 12 kB / 1.373 GB, free: 4.359 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.7458, allocations: 216.1 kB / 1.373 GB, free: 4.148 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.7458, allocations: 15.94 kB / 1.373 GB, free: 4.133 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/0.7467, allocations: 171 kB / 1.373 GB, free: 3.965 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.7468, allocations: 43.98 kB / 1.373 GB, free: 3.922 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001172/0.748, allocations: 0.7635 MB / 1.374 GB, free: 3.152 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000921/0.7489, allocations: 0.663 MB / 1.374 GB, free: 2.348 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001435/0.7503, allocations: 0.8849 MB / 1.375 GB, free: 1.359 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.7503, allocations: 4 kB / 1.375 GB, free: 1.355 MB / 1.092 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001932/0.7523, allocations: 1.117 MB / 1.376 GB, free: 236 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.7523, allocations: 12.09 kB / 1.376 GB, free: 224 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7523, allocations: 8 kB / 1.376 GB, free: 216 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7523, allocations: 12 kB / 1.376 GB, free: 204 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.753, allocations: 203.8 kB / 1.377 GB, free: 16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.753, allocations: 19.92 kB / 1.377 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.754, allocations: 135.4 kB / 1.377 GB, free: 15.85 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.754, allocations: 47.98 kB / 1.377 GB, free: 15.8 MB / 1.107 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.0001823/0.7542, allocations: 245.8 kB / 1.377 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.7545, allocations: 210.6 kB / 1.377 GB, free: 15.35 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.7564, allocations: 1.014 MB / 1.378 GB, free: 14.32 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.7564, allocations: 7.984 kB / 1.378 GB, free: 14.31 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7564, allocations: 7.984 kB / 1.378 GB, free: 14.3 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.7577, allocations: 0.7593 MB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.7614, allocations: 2.794 MB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7614, allocations: 0 / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.7619, allocations: 131.8 kB / 1.382 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7619, allocations: 4 kB / 1.382 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.7619, allocations: 20.34 kB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.7619, allocations: 11.98 kB / 1.382 GB, free: 10.45 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.762, allocations: 4 kB / 1.382 GB, free: 10.45 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.7643, allocations: 1.465 MB / 1.383 GB, free: 8.922 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.7648, allocations: 395.4 kB / 1.384 GB, free: 8.516 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.765, allocations: 24 kB / 1.384 GB, free: 8.492 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.7657, allocations: 63.92 kB / 1.384 GB, free: 8.43 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7659, allocations: 64.3 kB / 1.384 GB, free: 8.367 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.7659, allocations: 31.98 kB / 1.384 GB, free: 8.336 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001644/0.7676, allocations: 1.416 MB / 1.385 GB, free: 6.906 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7676, allocations: 0 / 1.385 GB, free: 6.906 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001743/0.7693, allocations: 1.005 MB / 1.386 GB, free: 5.898 MB / 1.107 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.004381/0.7737, allocations: 2.697 MB / 1.389 GB, free: 3.281 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.7761, allocations: 1.259 MB / 1.39 GB, free: 2.023 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7761, allocations: 0 / 1.39 GB, free: 2.023 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.7769, allocations: 412 kB / 1.39 GB, free: 1.625 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.7801, allocations: 0.9333 MB / 1.391 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.7983, allocations: 14.38 MB / 1.405 GB, free: 1.801 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.7993, allocations: 1.518 MB / 1.407 GB, free: 256 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001091/0.8004, allocations: 438.3 kB / 1.407 GB, free: 15.82 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.8015, allocations: 0.9131 MB / 1.408 GB, free: 14.91 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.8015, allocations: 0 / 1.408 GB, free: 14.91 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.429/2.23, allocations: 56.52 MB / 1.463 GB, free: 6.938 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/18.14, allocations: 15.92 kB / 1.463 GB, free: 6.922 MB / 1.186 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)