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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001121/0.001121, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 75.81 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.7611, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06607/0.8272, allocations: 74.72 MB / 1.022 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.8417, allocations: 12.8 MB / 1.035 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.8429, allocations: 59.62 kB / 1.035 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.8444, allocations: 0.6837 MB / 1.035 GB, free: 9.574 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.8483, allocations: 2.271 MB / 1.037 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.8507, allocations: 1.264 MB / 1.039 GB, free: 6.043 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.8547, allocations: 5.547 MB / 1.044 GB, free: 500 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.8559, allocations: 1.183 MB / 1.045 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.8576, allocations: 1.365 MB / 1.047 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.8586, allocations: 1.182 MB / 1.048 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.8588, allocations: 76 kB / 1.048 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.8608, allocations: 1.251 MB / 1.049 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.861, allocations: 318.6 kB / 1.049 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006326/0.8617, allocations: 0.8045 MB / 1.05 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.864, allocations: 2.773 MB / 1.053 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.864, allocations: 4 kB / 1.053 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.91e-07/0.864, allocations: 0 / 1.053 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.864, allocations: 0 / 1.053 GB, free: 7.48 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.002991/0.867, allocations: 2.079 MB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.867, allocations: 12.03 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.8672, allocations: 148.1 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007064/0.8679, allocations: 226.9 kB / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.8698, allocations: 1.492 MB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.8699, allocations: 81.98 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.87, allocations: 100 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.8717, allocations: 1.108 MB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.8718, allocations: 4 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.8719, allocations: 40 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.8719, allocations: 31.88 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.8736, allocations: 0.8861 MB / 1.059 GB, free: 1.113 MB / 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.004905/0.8785, allocations: 4.892 MB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.8798, allocations: 0.6198 MB / 1.064 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.8804, allocations: 346.3 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/0.881, allocations: 0.8277 MB / 1.065 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.881, allocations: 39.12 kB / 1.065 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 1.863e-06/0.881, allocations: 0 / 1.065 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006497/0.8875, allocations: 1.678 MB / 1.067 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.8876, allocations: 59.95 kB / 1.067 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.889, allocations: 1.214 MB / 1.068 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.8891, allocations: 41.7 kB / 1.068 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.8895, allocations: 0.6104 MB / 1.069 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.8897, allocations: 208.9 kB / 1.069 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.89, allocations: 158.5 kB / 1.069 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8901, allocations: 337.9 kB / 1.07 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.8907, allocations: 292.7 kB / 1.07 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/0.8915, allocations: 491.8 kB / 1.07 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.8928, allocations: 0.7051 MB / 1.071 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8929, allocations: 0 / 1.071 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004314/0.8972, allocations: 1.273 MB / 1.072 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.8972, allocations: 4 kB / 1.072 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8972, allocations: 4 kB / 1.072 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.8978, allocations: 137.1 kB / 1.072 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.8984, allocations: 159.8 kB / 1.073 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007537/0.8992, allocations: 0.6927 MB / 1.073 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.9003, allocations: 160.8 kB / 1.073 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.9003, allocations: 35.92 kB / 1.073 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009966/0.9013, allocations: 0.5526 MB / 1.074 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007287/0.9021, allocations: 491.8 kB / 1.074 GB, free: 324 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/0.9033, allocations: 0.7051 MB / 1.075 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.9033, allocations: 0 / 1.075 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004217/0.9076, allocations: 1.269 MB / 1.076 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.9076, allocations: 4 kB / 1.076 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.9076, allocations: 7.938 kB / 1.076 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004666/0.9081, allocations: 137.1 kB / 1.077 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.9086, allocations: 159.9 kB / 1.077 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006732/0.9093, allocations: 0.7004 MB / 1.077 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009635/0.9103, allocations: 131.5 kB / 1.078 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.9104, allocations: 31.98 kB / 1.078 GB, free: 13.09 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.0001803/0.9105, allocations: 224.6 kB / 1.078 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.9107, allocations: 138.2 kB / 1.078 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.9149, allocations: 1.26 MB / 1.079 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.915, allocations: 8 kB / 1.079 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.915, allocations: 3.938 kB / 1.079 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003792/0.9188, allocations: 1.096 MB / 1.08 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/0.9244, allocations: 2.614 MB / 1.083 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9244, allocations: 4 kB / 1.083 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.9248, allocations: 119.7 kB / 1.083 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.9252, allocations: 128.8 kB / 1.083 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.9253, allocations: 20 kB / 1.083 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/0.9294, allocations: 2.33 MB / 1.085 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9294, allocations: 7.938 kB / 1.085 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/0.9341, allocations: 1.699 MB / 1.087 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.9344, allocations: 311.1 kB / 1.087 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.9346, allocations: 16 kB / 1.087 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.9354, allocations: 83.91 kB / 1.087 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.9355, allocations: 64.25 kB / 1.087 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.9356, allocations: 31.97 kB / 1.087 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009789/0.9366, allocations: 0.8699 MB / 1.088 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9366, allocations: 0 / 1.088 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00145/0.938, allocations: 0.7134 MB / 1.089 GB, free: 0.957 MB / 0.8419 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.9436, allocations: 2.569 MB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.9457, allocations: 1.117 MB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9458, allocations: 4 kB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.9471, allocations: 0.5565 MB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.95, allocations: 0.7581 MB / 1.094 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/0.9717, allocations: 10.84 MB / 1.104 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.9725, allocations: 1.18 MB / 1.106 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001313/0.9738, allocations: 314.9 kB / 1.106 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/0.9745, allocations: 0.4993 MB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of SimCode: time 1.212e-06/0.9745, allocations: 0 / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7239/1.698, allocations: 40.31 MB / 1.146 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/1.699, allocations: 263.9 kB / 1.146 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/4.497, allocations: 0 / 1.146 GB, free: 6.371 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)