Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_10_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.001441/0.001441, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 183.5 kB / 16.66 MB, free: 6.602 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.341/2.341, allocations: 437.1 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2398, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06911/0.3089, allocations: 75.19 MB / 1.24 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5078/0.8168, allocations: 12.74 MB / 1.252 GB, free: 26.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.8188, allocations: 65.53 kB / 1.252 GB, free: 26.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.8205, allocations: 0.8311 MB / 1.253 GB, free: 26.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.8256, allocations: 2.461 MB / 1.255 GB, free: 26.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.8283, allocations: 1.401 MB / 1.257 GB, free: 26.69 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005425/0.8338, allocations: 4.384 MB / 1.261 GB, free: 26.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.8358, allocations: 1.437 MB / 1.262 GB, free: 26.53 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.8391, allocations: 1.619 MB / 1.264 GB, free: 26.47 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.8407, allocations: 1.195 MB / 1.265 GB, free: 26.26 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.841, allocations: 164.7 kB / 1.265 GB, free: 26.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.8442, allocations: 1.41 MB / 1.267 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.8446, allocations: 396.6 kB / 1.267 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008844/0.8455, allocations: 0.8998 MB / 1.268 GB, free: 25.94 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.8493, allocations: 2.866 MB / 1.271 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8493, allocations: 4.969 kB / 1.271 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8493, allocations: 0 / 1.271 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.991e-05/0.8493, allocations: 0 / 1.271 GB, free: 25.58 MB / 0.9981 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.003268/0.8526, allocations: 2.135 MB / 1.273 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.8526, allocations: 9.281 kB / 1.273 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.8528, allocations: 148.5 kB / 1.273 GB, free: 24.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007139/0.8535, allocations: 240.1 kB / 1.273 GB, free: 24.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.8555, allocations: 1.531 MB / 1.275 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.8556, allocations: 78.88 kB / 1.275 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.8557, allocations: 104.4 kB / 1.275 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.8575, allocations: 1.097 MB / 1.276 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.8575, allocations: 6.812 kB / 1.276 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.8576, allocations: 39.17 kB / 1.276 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.8576, allocations: 33.62 kB / 1.276 GB, free: 23.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.8593, allocations: 0.8815 MB / 1.277 GB, free: 23.77 MB / 0.9981 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.004661/0.864, allocations: 4.91 MB / 1.282 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.8653, allocations: 0.6141 MB / 1.282 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.8659, allocations: 355.1 kB / 1.283 GB, free: 21.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/0.8663, allocations: 0.8282 MB / 1.283 GB, free: 20.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.8663, allocations: 45.94 kB / 1.283 GB, free: 20.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 2.054e-06/0.8663, allocations: 0 / 1.283 GB, free: 20.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.00669/0.873, allocations: 1.685 MB / 1.285 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.8731, allocations: 58.05 kB / 1.285 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.8745, allocations: 1.228 MB / 1.286 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.8746, allocations: 39.58 kB / 1.286 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.875, allocations: 0.6127 MB / 1.287 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.8752, allocations: 224.1 kB / 1.287 GB, free: 18.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.8754, allocations: 156.2 kB / 1.287 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.8754, allocations: 337.6 kB / 1.288 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.876, allocations: 287.6 kB / 1.288 GB, free: 18.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007299/0.8768, allocations: 0.4928 MB / 1.288 GB, free: 17.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.878, allocations: 0.7118 MB / 1.289 GB, free: 17.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8781, allocations: 0.75 kB / 1.289 GB, free: 17.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00436/0.8824, allocations: 1.275 MB / 1.29 GB, free: 17.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.8825, allocations: 7.031 kB / 1.29 GB, free: 17.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8825, allocations: 12.38 kB / 1.29 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.883, allocations: 140.1 kB / 1.291 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.8836, allocations: 157.3 kB / 1.291 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006515/0.8842, allocations: 0.6932 MB / 1.291 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/0.8852, allocations: 118.8 kB / 1.291 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.8853, allocations: 34.33 kB / 1.291 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009494/0.8863, allocations: 0.5525 MB / 1.292 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007111/0.887, allocations: 495.3 kB / 1.292 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00121/0.8882, allocations: 0.7028 MB / 1.293 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.8882, allocations: 0 / 1.293 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004272/0.8925, allocations: 1.272 MB / 1.294 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.8925, allocations: 8.656 kB / 1.294 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.8925, allocations: 3.812 kB / 1.294 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.893, allocations: 139.7 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.8935, allocations: 157 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005894/0.8941, allocations: 0.6953 MB / 1.295 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.8951, allocations: 97.91 kB / 1.295 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.8951, allocations: 33.31 kB / 1.296 GB, free: 14.56 MB / 0.9981 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.0001833/0.8953, allocations: 234.4 kB / 1.296 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.8955, allocations: 139.8 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/0.8998, allocations: 1.257 MB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.8998, allocations: 15.05 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8998, allocations: 1.969 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003809/0.9036, allocations: 1.098 MB / 1.298 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/0.9096, allocations: 2.624 MB / 1.301 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9096, allocations: 4.406 kB / 1.301 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.91, allocations: 118.2 kB / 1.301 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/0.9104, allocations: 124.5 kB / 1.301 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.9105, allocations: 20.03 kB / 1.301 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.9146, allocations: 2.602 MB / 1.304 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9146, allocations: 4.094 kB / 1.304 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.9193, allocations: 1.705 MB / 1.305 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/0.9198, allocations: 312 kB / 1.306 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.9199, allocations: 17.8 kB / 1.306 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/0.9207, allocations: 58.33 kB / 1.306 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9208, allocations: 56.89 kB / 1.306 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.9209, allocations: 39.42 kB / 1.306 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001045/0.9219, allocations: 0.8807 MB / 1.307 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9219, allocations: 0 / 1.307 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001789/0.9237, allocations: 0.7224 MB / 1.307 GB, free: 8.824 MB / 0.9981 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.005547/0.9293, allocations: 2.599 MB / 1.31 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.9316, allocations: 1.122 MB / 1.311 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9317, allocations: 1 kB / 1.311 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.933, allocations: 0.5594 MB / 1.311 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.9361, allocations: 0.8 MB / 1.312 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.9526, allocations: 9.833 MB / 1.322 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.9532, allocations: 1.174 MB / 1.323 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001134/0.9544, allocations: 309.2 kB / 1.323 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/0.9549, allocations: 0.5069 MB / 1.324 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.9549, allocations: 0 / 1.324 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.549/3.504, allocations: 42.42 MB / 1.365 GB, free: 14.85 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.96/22.46, allocations: 0 / 1.365 GB, free: 14.85 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)