Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_9_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.001449/0.001449, allocations: 108 kB / 15.61 MB, free: 152 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.001728/0.001728, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4746, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06512/0.5398, allocations: 75.18 MB / 1.023 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.5569, allocations: 12.74 MB / 1.036 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.5589, allocations: 71.56 kB / 1.036 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.5608, allocations: 0.8306 MB / 1.036 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005721/0.5666, allocations: 2.464 MB / 1.039 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.5694, allocations: 1.377 MB / 1.04 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004168/0.5736, allocations: 4.389 MB / 1.044 GB, free: 492 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.5752, allocations: 1.433 MB / 1.046 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.5778, allocations: 1.605 MB / 1.047 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.5792, allocations: 1.198 MB / 1.049 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.5794, allocations: 164 kB / 1.049 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.5819, allocations: 1.4 MB / 1.05 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.5822, allocations: 402.5 kB / 1.051 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007849/0.583, allocations: 0.9021 MB / 1.051 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.5861, allocations: 2.828 MB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5861, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5861, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.5861, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 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.003284/0.5894, allocations: 2.08 MB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5894, allocations: 12.03 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.5896, allocations: 148.1 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007298/0.5904, allocations: 222.9 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.5924, allocations: 1.457 MB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.5924, allocations: 74 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.5926, allocations: 104 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.5943, allocations: 1.096 MB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.5944, allocations: 3.906 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.5945, allocations: 40 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.5945, allocations: 35.92 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.5963, allocations: 0.8899 MB / 1.06 GB, free: 192 kB / 0.8106 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.005728/0.6021, allocations: 4.939 MB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.6034, allocations: 0.6166 MB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.6041, allocations: 346.3 kB / 1.066 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005893/0.6047, allocations: 0.8277 MB / 1.067 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6047, allocations: 43.12 kB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.394e-06/0.6048, allocations: 0 / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006923/0.6117, allocations: 1.681 MB / 1.068 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.6117, allocations: 59.97 kB / 1.068 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.6131, allocations: 1.229 MB / 1.07 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.6132, allocations: 37.7 kB / 1.07 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.6137, allocations: 0.6064 MB / 1.07 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.6138, allocations: 212.9 kB / 1.071 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.614, allocations: 154.6 kB / 1.071 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6142, allocations: 337.9 kB / 1.071 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.6148, allocations: 288.7 kB / 1.071 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/0.6156, allocations: 495.8 kB / 1.072 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.6169, allocations: 0.7128 MB / 1.072 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.6169, allocations: 0 / 1.072 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004518/0.6215, allocations: 1.273 MB / 1.074 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6215, allocations: 12 kB / 1.074 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.6215, allocations: 4 kB / 1.074 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.6221, allocations: 132.7 kB / 1.074 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.6226, allocations: 151.8 kB / 1.074 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007819/0.6234, allocations: 0.7044 MB / 1.075 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.6243, allocations: 119.1 kB / 1.075 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.6244, allocations: 35.97 kB / 1.075 GB, free: 476 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009426/0.6253, allocations: 0.5527 MB / 1.075 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007761/0.6261, allocations: 487.9 kB / 1.076 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001334/0.6274, allocations: 0.705 MB / 1.076 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.6275, allocations: 4 kB / 1.076 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004517/0.632, allocations: 1.257 MB / 1.078 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.632, allocations: 12.31 kB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.632, allocations: 8 kB / 1.078 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.6325, allocations: 136.7 kB / 1.078 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.633, allocations: 155.8 kB / 1.078 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007343/0.6338, allocations: 0.6967 MB / 1.079 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/0.6347, allocations: 113 kB / 1.079 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.6347, allocations: 28 kB / 1.079 GB, free: 12.16 MB / 0.8419 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.0001811/0.6349, allocations: 232 kB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.6351, allocations: 134.3 kB / 1.079 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.6397, allocations: 1.256 MB / 1.08 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.6397, allocations: 8 kB / 1.08 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6398, allocations: 0 / 1.08 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004113/0.6439, allocations: 1.107 MB / 1.082 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/0.6499, allocations: 2.621 MB / 1.084 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6499, allocations: 4 kB / 1.084 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.6504, allocations: 120.2 kB / 1.084 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/0.6508, allocations: 132.7 kB / 1.084 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.6509, allocations: 19.98 kB / 1.084 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.6557, allocations: 2.587 MB / 1.087 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6557, allocations: 4 kB / 1.087 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/0.6608, allocations: 1.688 MB / 1.089 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.6612, allocations: 315.1 kB / 1.089 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.6614, allocations: 19.94 kB / 1.089 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.6621, allocations: 47.94 kB / 1.089 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6623, allocations: 68.36 kB / 1.089 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.6623, allocations: 27.98 kB / 1.089 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001092/0.6634, allocations: 0.8855 MB / 1.09 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6634, allocations: 0 / 1.09 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001595/0.665, allocations: 0.7175 MB / 1.091 GB, free: 15.77 MB / 0.8575 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.006053/0.6711, allocations: 2.6 MB / 1.093 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.6737, allocations: 1.152 MB / 1.094 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6737, allocations: 0 / 1.094 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.6751, allocations: 0.5683 MB / 1.095 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/0.6784, allocations: 0.7911 MB / 1.096 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.6967, allocations: 10.46 MB / 1.106 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.6974, allocations: 1.168 MB / 1.107 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001016/0.6984, allocations: 307 kB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/0.699, allocations: 0.511 MB / 1.108 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.699, allocations: 4 kB / 1.108 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7493/1.448, allocations: 42.17 MB / 1.149 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.41/20.85, allocations: 11.8 kB / 1.149 GB, free: 3.945 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)