Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,fileNamePrefix="Buildings_latest_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.00746/0.00746, 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.002155/0.002155, allocations: 194.8 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.417/2.417, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 67.53 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.254, allocations: 162.3 MB / 1.242 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.06808/0.3221, allocations: 75.55 MB / 1.316 GB, free: 13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.3378, allocations: 12.81 MB / 1.328 GB, free: 164 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.339, allocations: 63.62 kB / 1.328 GB, free: 100 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.3406, allocations: 0.8345 MB / 1.329 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004427/0.345, allocations: 2.48 MB / 1.332 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.3476, allocations: 1.394 MB / 1.333 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004139/0.3517, allocations: 4.419 MB / 1.337 GB, free: 6.949 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.3533, allocations: 1.445 MB / 1.339 GB, free: 5.461 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.3563, allocations: 1.818 MB / 1.34 GB, free: 3.641 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.3575, allocations: 1.186 MB / 1.342 GB, free: 2.449 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.3578, allocations: 164 kB / 1.342 GB, free: 2.289 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.36, allocations: 1.396 MB / 1.343 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.3604, allocations: 406.6 kB / 1.343 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008079/0.3612, allocations: 0.9254 MB / 1.344 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.3642, allocations: 2.904 MB / 1.347 GB, free: 12.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3643, allocations: 3.938 kB / 1.347 GB, free: 12.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3643, allocations: 0 / 1.347 GB, free: 12.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3643, allocations: 0 / 1.347 GB, free: 12.64 MB / 1.076 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.003121/0.3674, allocations: 2.163 MB / 1.349 GB, free: 10.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3674, allocations: 12.03 kB / 1.349 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.3676, allocations: 148.1 kB / 1.349 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007077/0.3683, allocations: 243.7 kB / 1.35 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.3705, allocations: 1.545 MB / 1.351 GB, free: 8.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.3706, allocations: 78 kB / 1.351 GB, free: 8.332 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3707, allocations: 104 kB / 1.351 GB, free: 8.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.3725, allocations: 1.1 MB / 1.352 GB, free: 7.098 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.3725, allocations: 7.938 kB / 1.352 GB, free: 7.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.3726, allocations: 40 kB / 1.352 GB, free: 7.051 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.3726, allocations: 28 kB / 1.353 GB, free: 7.023 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.3744, allocations: 0.8822 MB / 1.353 GB, free: 6.137 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.005353/0.3798, allocations: 4.94 MB / 1.358 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.3811, allocations: 0.6178 MB / 1.359 GB, free: 296 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/0.3818, allocations: 338.3 kB / 1.359 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/0.3824, allocations: 0.8316 MB / 1.36 GB, free: 14.94 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3824, allocations: 43.12 kB / 1.36 GB, free: 14.89 MB / 1.092 GB Notification: Performance of pre-optimization done (n=61): time 1.563e-06/0.3824, allocations: 0 / 1.36 GB, free: 14.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=61): time 0.006969/0.3894, allocations: 1.709 MB / 1.362 GB, free: 13.15 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3894, allocations: 59.97 kB / 1.362 GB, free: 13.08 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.3909, allocations: 1.258 MB / 1.363 GB, free: 11.8 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.391, allocations: 41.7 kB / 1.363 GB, free: 11.76 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.3915, allocations: 0.6192 MB / 1.364 GB, free: 11.13 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.3916, allocations: 226 kB / 1.364 GB, free: 10.91 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.3919, allocations: 150.6 kB / 1.364 GB, free: 10.76 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.392, allocations: 334 kB / 1.364 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006347/0.3926, allocations: 288.7 kB / 1.365 GB, free: 10.14 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.3934, allocations: 495.8 kB / 1.365 GB, free: 9.582 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3948, allocations: 0.6973 MB / 1.366 GB, free: 8.836 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3948, allocations: 7.938 kB / 1.366 GB, free: 8.828 MB / 1.092 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00429/0.3991, allocations: 1.277 MB / 1.367 GB, free: 7.539 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3991, allocations: 4 kB / 1.367 GB, free: 7.535 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3991, allocations: 4 kB / 1.367 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.3997, allocations: 149 kB / 1.367 GB, free: 7.383 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.4002, allocations: 163.7 kB / 1.367 GB, free: 7.223 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007757/0.401, allocations: 0.6889 MB / 1.368 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/0.4018, allocations: 123.3 kB / 1.368 GB, free: 6.387 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.4019, allocations: 35.98 kB / 1.368 GB, free: 6.352 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009424/0.4028, allocations: 0.5527 MB / 1.369 GB, free: 5.797 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007706/0.4036, allocations: 491.8 kB / 1.369 GB, free: 5.242 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001294/0.4049, allocations: 0.6933 MB / 1.37 GB, free: 4.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.4049, allocations: 4 kB / 1.37 GB, free: 4.496 MB / 1.092 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00422/0.4091, allocations: 1.27 MB / 1.371 GB, free: 3.215 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.4092, allocations: 6.031 kB / 1.371 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4092, allocations: 4 kB / 1.371 GB, free: 3.207 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004634/0.4096, allocations: 141.1 kB / 1.371 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.4102, allocations: 163.8 kB / 1.371 GB, free: 2.906 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007454/0.4109, allocations: 0.7005 MB / 1.372 GB, free: 2.18 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.4117, allocations: 99.66 kB / 1.372 GB, free: 2.082 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.4118, allocations: 32 kB / 1.372 GB, free: 2.051 MB / 1.092 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.0001801/0.412, allocations: 220.1 kB / 1.372 GB, free: 1.828 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.4122, allocations: 155 kB / 1.372 GB, free: 1.676 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.4166, allocations: 1.252 MB / 1.374 GB, free: 420 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.4166, allocations: 16 kB / 1.374 GB, free: 404 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4166, allocations: 7.984 kB / 1.374 GB, free: 396 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003906/0.4205, allocations: 1.088 MB / 1.375 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/0.4263, allocations: 2.583 MB / 1.377 GB, free: 12.56 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4264, allocations: 4 kB / 1.377 GB, free: 12.56 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.4268, allocations: 116 kB / 1.377 GB, free: 12.45 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.4273, allocations: 141.1 kB / 1.378 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.4273, allocations: 23.92 kB / 1.378 GB, free: 12.28 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.432, allocations: 2.575 MB / 1.38 GB, free: 9.551 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.432, allocations: 7.938 kB / 1.38 GB, free: 9.543 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.4369, allocations: 1.692 MB / 1.382 GB, free: 7.789 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.4373, allocations: 319.9 kB / 1.382 GB, free: 7.457 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.4374, allocations: 20 kB / 1.382 GB, free: 7.438 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007004/0.4381, allocations: 51.94 kB / 1.382 GB, free: 7.387 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.4383, allocations: 64.3 kB / 1.382 GB, free: 7.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.4383, allocations: 27.98 kB / 1.382 GB, free: 7.293 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001086/0.4394, allocations: 0.9021 MB / 1.383 GB, free: 6.391 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.4394, allocations: 0 / 1.383 GB, free: 6.391 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0015/0.4409, allocations: 0.733 MB / 1.384 GB, free: 5.656 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: 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.005839/0.4468, allocations: 2.607 MB / 1.386 GB, free: 2.984 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.4491, allocations: 1.106 MB / 1.387 GB, free: 1.883 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4491, allocations: 8.188 kB / 1.387 GB, free: 1.875 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.4505, allocations: 0.5524 MB / 1.388 GB, free: 1.309 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.4536, allocations: 0.8125 MB / 1.389 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.4714, allocations: 10.01 MB / 1.399 GB, free: 6.199 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.4721, allocations: 1.183 MB / 1.4 GB, free: 4.984 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008388/0.473, allocations: 303.1 kB / 1.4 GB, free: 4.688 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.4736, allocations: 0.5227 MB / 1.401 GB, free: 4.164 MB / 1.123 GB Notification: Performance of SimCode: time 2.4e-07/0.4736, allocations: 0 / 1.401 GB, free: 4.164 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.927/7.4, allocations: 43.45 MB / 1.443 GB, free: 9.32 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/22.54, allocations: 6.156 kB / 1.443 GB, free: 9.316 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)