Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.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 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.Carnot_y,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y",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.004341/0.004341, allocations: 99.84 kB / 15.73 MB, free: 6.496 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.001298/0.001298, allocations: 196 kB / 16.68 MB, free: 6.375 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.448/2.448, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 71.89 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2526, allocations: 159.1 MB / 1.22 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.528/0.7807, allocations: 75.43 MB / 1.294 GB, free: 5.656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.7969, allocations: 12.79 MB / 1.306 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.7982, allocations: 69.5 kB / 1.306 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.7998, allocations: 0.831 MB / 1.307 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.8044, allocations: 2.481 MB / 1.31 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003711/0.8082, allocations: 1.394 MB / 1.311 GB, free: 9.621 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004397/0.8126, allocations: 4.429 MB / 1.315 GB, free: 7.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.8142, allocations: 1.431 MB / 1.317 GB, free: 6.723 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.8169, allocations: 1.635 MB / 1.318 GB, free: 5.918 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.8182, allocations: 1.206 MB / 1.32 GB, free: 5.352 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.8184, allocations: 164.1 kB / 1.32 GB, free: 5.352 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.821, allocations: 1.404 MB / 1.321 GB, free: 4.836 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/0.8213, allocations: 402.5 kB / 1.321 GB, free: 4.582 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.8222, allocations: 0.9243 MB / 1.322 GB, free: 4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.8254, allocations: 2.889 MB / 1.325 GB, free: 2.898 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8254, allocations: 1.344 kB / 1.325 GB, free: 2.898 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8254, allocations: 4.656 kB / 1.325 GB, free: 2.895 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.8254, allocations: 0 / 1.325 GB, free: 2.895 MB / 1.029 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.003251/0.8287, allocations: 2.165 MB / 1.327 GB, free: 1.441 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.8287, allocations: 9.938 kB / 1.327 GB, free: 1.441 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.8289, allocations: 148 kB / 1.327 GB, free: 1.344 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007315/0.8296, allocations: 240.6 kB / 1.328 GB, free: 1.246 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.8319, allocations: 1.549 MB / 1.329 GB, free: 328 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.832, allocations: 76.53 kB / 1.329 GB, free: 292 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.8321, allocations: 99.81 kB / 1.329 GB, free: 260 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.8339, allocations: 1.099 MB / 1.33 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.834, allocations: 6.922 kB / 1.33 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.834, allocations: 42.28 kB / 1.331 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.8341, allocations: 26.73 kB / 1.331 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.8359, allocations: 0.8872 MB / 1.331 GB, free: 15.41 MB / 1.045 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.006588/0.8425, allocations: 4.935 MB / 1.336 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.8437, allocations: 0.6124 MB / 1.337 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.8444, allocations: 343.7 kB / 1.337 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.845, allocations: 0.8285 MB / 1.338 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.845, allocations: 41.84 kB / 1.338 GB, free: 10.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 1.854e-06/0.845, allocations: 0 / 1.338 GB, free: 10.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.006638/0.8517, allocations: 1.715 MB / 1.34 GB, free: 10.1 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8517, allocations: 62.28 kB / 1.34 GB, free: 10.03 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.8532, allocations: 1.254 MB / 1.341 GB, free: 9.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.8532, allocations: 47.36 kB / 1.341 GB, free: 9.473 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.8537, allocations: 0.6129 MB / 1.342 GB, free: 8.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.8539, allocations: 231.3 kB / 1.342 GB, free: 8.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.8541, allocations: 156.6 kB / 1.342 GB, free: 8.723 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8543, allocations: 328.6 kB / 1.342 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.8549, allocations: 291.9 kB / 1.343 GB, free: 8.305 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.8557, allocations: 496.2 kB / 1.343 GB, free: 7.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.857, allocations: 0.7005 MB / 1.344 GB, free: 7.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.857, allocations: 0.9688 kB / 1.344 GB, free: 7.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004106/0.8611, allocations: 1.275 MB / 1.345 GB, free: 7.191 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8611, allocations: 7.25 kB / 1.345 GB, free: 7.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8611, allocations: 7.062 kB / 1.345 GB, free: 7.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.8616, allocations: 143.7 kB / 1.345 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.8622, allocations: 160.8 kB / 1.345 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007708/0.863, allocations: 0.6978 MB / 1.346 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/0.8637, allocations: 121.6 kB / 1.346 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.8638, allocations: 34.14 kB / 1.346 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009056/0.8647, allocations: 0.5511 MB / 1.347 GB, free: 6.195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007426/0.8655, allocations: 484.1 kB / 1.347 GB, free: 5.879 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001275/0.8667, allocations: 0.697 MB / 1.348 GB, free: 5.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.8668, allocations: 1.281 kB / 1.348 GB, free: 5.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00415/0.8709, allocations: 1.274 MB / 1.349 GB, free: 4.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.8709, allocations: 7.094 kB / 1.349 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8709, allocations: 3.594 kB / 1.349 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004657/0.8714, allocations: 149.8 kB / 1.349 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.8719, allocations: 157.5 kB / 1.349 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007343/0.8727, allocations: 0.6937 MB / 1.35 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/0.8735, allocations: 98.98 kB / 1.35 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.8735, allocations: 39.77 kB / 1.35 GB, free: 3.988 MB / 1.045 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.0001809/0.8737, allocations: 227 kB / 1.35 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.8739, allocations: 144.9 kB / 1.35 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.8781, allocations: 1.252 MB / 1.352 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.8781, allocations: 7.344 kB / 1.352 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8781, allocations: 0 / 1.352 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00376/0.8819, allocations: 1.095 MB / 1.353 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/0.8875, allocations: 2.592 MB / 1.355 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8876, allocations: 3.094 kB / 1.355 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.888, allocations: 115.5 kB / 1.355 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.8884, allocations: 141.3 kB / 1.356 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.8885, allocations: 20.34 kB / 1.356 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/0.8931, allocations: 2.586 MB / 1.358 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.8931, allocations: 11.56 kB / 1.358 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/0.8986, allocations: 1.694 MB / 1.36 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/0.8992, allocations: 320.1 kB / 1.36 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.8995, allocations: 15.72 kB / 1.36 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/0.9002, allocations: 56.77 kB / 1.36 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9003, allocations: 61.75 kB / 1.36 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.9004, allocations: 28.52 kB / 1.36 GB, free: 12.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001086/0.9015, allocations: 0.9047 MB / 1.361 GB, free: 12.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.793e-06/0.9015, allocations: 0 / 1.361 GB, free: 12.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001603/0.9031, allocations: 0.7354 MB / 1.362 GB, free: 12.2 MB / 1.061 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.005853/0.9089, allocations: 2.596 MB / 1.364 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.9112, allocations: 1.102 MB / 1.365 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9112, allocations: 4.125 kB / 1.365 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.9126, allocations: 0.5609 MB / 1.366 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.9157, allocations: 0.8097 MB / 1.367 GB, free: 9.242 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/0.934, allocations: 9.999 MB / 1.377 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.9347, allocations: 1.189 MB / 1.378 GB, free: 2.281 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008437/0.9355, allocations: 291.7 kB / 1.378 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.9362, allocations: 0.5307 MB / 1.379 GB, free: 1.707 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9362, allocations: 0 / 1.379 GB, free: 1.707 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.353/5.289, allocations: 43.47 MB / 1.421 GB, free: 6.973 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.64/28.93, allocations: 0 / 1.421 GB, free: 6.973 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y.fmu > Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)