Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.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.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_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.006597/0.006597, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.001782/0.001782, allocations: 187.1 kB / 16.67 MB, free: 5.918 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.505/2.505, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 71.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2588, allocations: 162.3 MB / 1.242 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.518/0.7769, allocations: 75.29 MB / 1.315 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.7932, allocations: 12.77 MB / 1.328 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.7948, allocations: 69.53 kB / 1.328 GB, free: 4.258 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.7965, allocations: 0.8293 MB / 1.329 GB, free: 3.738 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004917/0.8014, allocations: 2.45 MB / 1.331 GB, free: 2.258 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.8043, allocations: 1.402 MB / 1.332 GB, free: 1.453 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.8087, allocations: 4.389 MB / 1.337 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.8104, allocations: 1.441 MB / 1.338 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.8136, allocations: 1.811 MB / 1.34 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.8149, allocations: 1.18 MB / 1.341 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.8151, allocations: 162.9 kB / 1.341 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.8177, allocations: 1.397 MB / 1.343 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.818, allocations: 400.7 kB / 1.343 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008248/0.8189, allocations: 0.906 MB / 1.344 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.8221, allocations: 2.874 MB / 1.347 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8221, allocations: 1.094 kB / 1.347 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8221, allocations: 0 / 1.347 GB, free: 10.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.8222, allocations: 0 / 1.347 GB, free: 10.66 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003318/0.8255, allocations: 2.13 MB / 1.349 GB, free: 9.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.8255, allocations: 9.031 kB / 1.349 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.8257, allocations: 147.6 kB / 1.349 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.8264, allocations: 240.2 kB / 1.349 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.8287, allocations: 1.531 MB / 1.351 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.8288, allocations: 80.47 kB / 1.351 GB, free: 8.078 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.8289, allocations: 105.1 kB / 1.351 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.8307, allocations: 1.099 MB / 1.352 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.8307, allocations: 0 / 1.352 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.8308, allocations: 41.69 kB / 1.352 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.8308, allocations: 37.75 kB / 1.352 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.8325, allocations: 0.8873 MB / 1.353 GB, free: 7.199 MB / 1.061 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.005268/0.8378, allocations: 4.916 MB / 1.358 GB, free: 3.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.8391, allocations: 0.623 MB / 1.358 GB, free: 2.945 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.8397, allocations: 351.4 kB / 1.359 GB, free: 2.777 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.8404, allocations: 0.835 MB / 1.359 GB, free: 1.801 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.8404, allocations: 43.12 kB / 1.359 GB, free: 1.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 1.553e-06/0.8404, allocations: 0 / 1.359 GB, free: 1.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.006531/0.847, allocations: 1.682 MB / 1.361 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.847, allocations: 57.94 kB / 1.361 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.8484, allocations: 1.224 MB / 1.362 GB, free: 124 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.8485, allocations: 43.02 kB / 1.362 GB, free: 80 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005196/0.849, allocations: 0.6164 MB / 1.363 GB, free: 15.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.8492, allocations: 228.1 kB / 1.363 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.8494, allocations: 152.2 kB / 1.363 GB, free: 15.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8495, allocations: 332.2 kB / 1.364 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.8502, allocations: 291.2 kB / 1.364 GB, free: 14.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007922/0.851, allocations: 496.1 kB / 1.364 GB, free: 14.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.8523, allocations: 0.705 MB / 1.365 GB, free: 13.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.8523, allocations: 1.25 kB / 1.365 GB, free: 13.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004265/0.8566, allocations: 1.283 MB / 1.366 GB, free: 13.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8566, allocations: 6.781 kB / 1.366 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8566, allocations: 5 kB / 1.366 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005145/0.8571, allocations: 133.8 kB / 1.366 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.8577, allocations: 158.1 kB / 1.367 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/0.8585, allocations: 0.6943 MB / 1.367 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.8592, allocations: 124.6 kB / 1.367 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.8593, allocations: 35.33 kB / 1.367 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009222/0.8603, allocations: 0.5549 MB / 1.368 GB, free: 12.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007837/0.861, allocations: 489.5 kB / 1.368 GB, free: 11.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001303/0.8624, allocations: 0.7066 MB / 1.369 GB, free: 11.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.8624, allocations: 1.344 kB / 1.369 GB, free: 11.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004257/0.8666, allocations: 1.275 MB / 1.37 GB, free: 10.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.8667, allocations: 6.656 kB / 1.37 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8667, allocations: 3.719 kB / 1.37 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004348/0.8671, allocations: 141 kB / 1.371 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.8676, allocations: 153.2 kB / 1.371 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007485/0.8684, allocations: 0.6944 MB / 1.371 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.8692, allocations: 106.7 kB / 1.371 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.8692, allocations: 27.12 kB / 1.372 GB, free: 9.875 MB / 1.076 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.000185/0.8694, allocations: 233.9 kB / 1.372 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.8696, allocations: 144.8 kB / 1.372 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.8739, allocations: 1.261 MB / 1.373 GB, free: 8.883 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.874, allocations: 11.05 kB / 1.373 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.874, allocations: 0 / 1.373 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003883/0.8779, allocations: 1.104 MB / 1.374 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/0.8837, allocations: 2.621 MB / 1.377 GB, free: 6.434 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8837, allocations: 2.219 kB / 1.377 GB, free: 6.434 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.8841, allocations: 115.2 kB / 1.377 GB, free: 6.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.8845, allocations: 128.9 kB / 1.377 GB, free: 6.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.8846, allocations: 29.58 kB / 1.377 GB, free: 6.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/0.8893, allocations: 2.573 MB / 1.38 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.8893, allocations: 7.969 kB / 1.38 GB, free: 4.121 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/0.8942, allocations: 1.71 MB / 1.381 GB, free: 3.094 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.8946, allocations: 312.8 kB / 1.382 GB, free: 2.824 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.8948, allocations: 18.97 kB / 1.382 GB, free: 2.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.8955, allocations: 53.2 kB / 1.382 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8956, allocations: 65.81 kB / 1.382 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.8956, allocations: 29.05 kB / 1.382 GB, free: 2.738 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001059/0.8967, allocations: 0.8845 MB / 1.383 GB, free: 2.242 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8967, allocations: 0 / 1.383 GB, free: 2.242 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001548/0.8983, allocations: 0.7226 MB / 1.383 GB, free: 2.09 MB / 1.076 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.005786/0.9041, allocations: 2.6 MB / 1.386 GB, free: 388 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.9063, allocations: 1.118 MB / 1.387 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9063, allocations: 0 / 1.387 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.9076, allocations: 0.5635 MB / 1.387 GB, free: 15.54 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.9106, allocations: 0.793 MB / 1.388 GB, free: 15.13 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.9281, allocations: 9.832 MB / 1.398 GB, free: 6.039 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/0.9288, allocations: 1.172 MB / 1.399 GB, free: 4.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008683/0.9297, allocations: 314.9 kB / 1.399 GB, free: 4.527 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/0.9304, allocations: 0.4993 MB / 1.4 GB, free: 4.027 MB / 1.092 GB Notification: Performance of SimCode: time 2.4e-07/0.9304, allocations: 0 / 1.4 GB, free: 4.027 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.015/2.946, allocations: 42.42 MB / 1.441 GB, free: 10.11 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/25.53, allocations: 16.62 kB / 1.441 GB, free: 10.09 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)