Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 176.8 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008387/0.0008388, allocations: 82.44 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2305, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.04731/0.2779, allocations: 62.98 MB / 0.9616 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.2954, allocations: 10.86 MB / 0.9723 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.2985, allocations: 51.62 kB / 0.9723 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.3018, allocations: 0.7384 MB / 0.973 GB, free: 5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008131/0.31, allocations: 2.251 MB / 0.9752 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005248/0.3152, allocations: 1.435 MB / 0.9766 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005647/0.3209, allocations: 2.472 MB / 0.979 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.323, allocations: 1.017 MB / 0.98 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.3265, allocations: 1.144 MB / 0.9811 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.3286, allocations: 0.7739 MB / 0.9819 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.3288, allocations: 56 kB / 0.982 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.3319, allocations: 0.8465 MB / 0.9828 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.3323, allocations: 266.8 kB / 0.983 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000619/0.3329, allocations: 352.9 kB / 0.9834 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.3357, allocations: 2.023 MB / 0.9853 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3357, allocations: 0 / 0.9853 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3357, allocations: 0 / 0.9853 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.406e-05/0.3358, allocations: 0 / 0.9853 GB, free: 8.348 MB / 0.6355 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.003772/0.3396, allocations: 1.779 MB / 0.9871 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3396, allocations: 8.031 kB / 0.9871 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002294/0.3399, allocations: 147.9 kB / 0.9872 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/0.3406, allocations: 238 kB / 0.9875 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.343, allocations: 1.361 MB / 0.9888 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.3431, allocations: 78 kB / 0.9889 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.3432, allocations: 107.9 kB / 0.989 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.3452, allocations: 1.096 MB / 0.99 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.3453, allocations: 0 / 0.99 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.3454, allocations: 43.98 kB / 0.9901 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.3454, allocations: 28 kB / 0.9901 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.3473, allocations: 0.9251 MB / 0.991 GB, free: 2.383 MB / 0.6355 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.006245/0.3535, allocations: 4.954 MB / 0.9958 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.355, allocations: 0.6552 MB / 0.9965 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/0.3556, allocations: 0.8316 MB / 0.9973 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3557, allocations: 39.06 kB / 0.9973 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=62): time 4.087e-06/0.3557, allocations: 4 kB / 0.9973 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=62): time 0.007697/0.3634, allocations: 1.881 MB / 0.9992 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.3635, allocations: 59.97 kB / 0.9992 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.3655, allocations: 1.245 MB / 1 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.3656, allocations: 37.7 kB / 1 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/0.3661, allocations: 0.5947 MB / 1.001 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.3664, allocations: 224.9 kB / 1.001 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.3664, allocations: 16 kB / 1.001 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3666, allocations: 330 kB / 1.002 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.3673, allocations: 301.8 kB / 1.002 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.3682, allocations: 0.5018 MB / 1.002 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.3689, allocations: 351 kB / 1.003 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3689, allocations: 3.953 kB / 1.003 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004961/0.3739, allocations: 1.406 MB / 1.004 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006004/0.3745, allocations: 1.33 MB / 1.005 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3746, allocations: 4 kB / 1.005 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007967/0.3754, allocations: 172.6 kB / 1.006 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/0.3761, allocations: 163.8 kB / 1.006 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.3771, allocations: 0.7241 MB / 1.006 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.3785, allocations: 178.9 kB / 1.007 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.699e-05/0.3786, allocations: 35.98 kB / 1.007 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3787, allocations: 4 kB / 1.007 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004587/0.3833, allocations: 1.249 MB / 1.008 GB, free: 356 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3833, allocations: 8.359 kB / 1.008 GB, free: 348 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.384, allocations: 172.7 kB / 1.008 GB, free: 172 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.3846, allocations: 163.8 kB / 1.008 GB, free: 8 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008767/0.3855, allocations: 0.7318 MB / 1.009 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.3872, allocations: 163.1 kB / 1.009 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.3873, allocations: 31.98 kB / 1.009 GB, free: 15.06 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001066/0.3884, allocations: 416.9 kB / 1.009 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.3888, allocations: 134.4 kB / 1.01 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.3939, allocations: 1.416 MB / 1.011 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.3939, allocations: 8 kB / 1.011 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.394, allocations: 3.984 kB / 1.011 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004365/0.3983, allocations: 1.24 MB / 1.012 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007609/0.406, allocations: 2.774 MB / 1.015 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.406, allocations: 4 kB / 1.015 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.4066, allocations: 115.9 kB / 1.015 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/0.4073, allocations: 168.8 kB / 1.015 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.4074, allocations: 16 kB / 1.015 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009585/0.4084, allocations: 0.722 MB / 1.016 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4084, allocations: 4 kB / 1.016 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.414, allocations: 2.065 MB / 1.018 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000825/0.4148, allocations: 335.1 kB / 1.018 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.415, allocations: 27.92 kB / 1.018 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/0.416, allocations: 99.81 kB / 1.018 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4161, allocations: 52.27 kB / 1.018 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/0.4162, allocations: 31.98 kB / 1.018 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001331/0.4175, allocations: 0.8932 MB / 1.019 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4175, allocations: 0 / 1.019 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002213/0.4197, allocations: 0.7135 MB / 1.02 GB, free: 3.406 MB / 0.6667 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006895/0.4266, allocations: 3.86 MB / 1.024 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.4294, allocations: 1.16 MB / 1.025 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.4295, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009656/0.4304, allocations: 419.2 kB / 1.025 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/0.4346, allocations: 0.759 MB / 1.026 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007189/0.4418, allocations: 5.772 MB / 1.032 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.4426, allocations: 1.199 MB / 1.033 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001374/0.4439, allocations: 303 kB / 1.033 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.4446, allocations: 0.5032 MB / 1.034 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/0.4446, allocations: 0 / 1.034 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5179/0.9626, allocations: 41.89 MB / 1.075 GB, free: 138.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.9628, allocations: 259.5 kB / 1.075 GB, free: 138.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/4.613, allocations: 0 / 1.075 GB, free: 138.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)