Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",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.43/1.43, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001063/0.001064, allocations: 166.9 kB / 326.5 MB, free: 2.262 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.924/1.924, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001022/0.001022, allocations: 92.25 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 12.36 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2564, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05163/0.3081, allocations: 62.95 MB / 0.9616 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.3256, allocations: 10.86 MB / 0.9722 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002837/0.3285, allocations: 55.56 kB / 0.9723 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.3316, allocations: 0.7423 MB / 0.973 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/0.3401, allocations: 2.254 MB / 0.9752 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.345, allocations: 1.432 MB / 0.9766 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005686/0.3507, allocations: 2.464 MB / 0.979 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.3531, allocations: 1.013 MB / 0.98 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.3566, allocations: 1.152 MB / 0.9811 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.3588, allocations: 0.77 MB / 0.9819 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004938/0.3593, allocations: 52 kB / 0.9819 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.3631, allocations: 0.8387 MB / 0.9827 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004782/0.3636, allocations: 250.9 kB / 0.983 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008165/0.3644, allocations: 360.9 kB / 0.9833 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.3675, allocations: 2.011 MB / 0.9853 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3675, allocations: 0 / 0.9853 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3676, allocations: 0 / 0.9853 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.876e-05/0.3676, allocations: 0 / 0.9853 GB, free: 8.461 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.003627/0.3712, allocations: 1.775 MB / 0.987 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3713, allocations: 12.02 kB / 0.987 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.3715, allocations: 144 kB / 0.9872 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.3723, allocations: 238 kB / 0.9874 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.3747, allocations: 1.361 MB / 0.9887 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.3748, allocations: 82 kB / 0.9888 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.375, allocations: 100 kB / 0.9889 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.377, allocations: 1.096 MB / 0.99 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3771, allocations: 7.906 kB / 0.99 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.3772, allocations: 36 kB / 0.99 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.3772, allocations: 24 kB / 0.99 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.3791, allocations: 0.9212 MB / 0.9909 GB, free: 2.512 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.007018/0.3861, allocations: 4.954 MB / 0.9958 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.3876, allocations: 0.6397 MB / 0.9964 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007542/0.3883, allocations: 0.8277 MB / 0.9972 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.3884, allocations: 39.12 kB / 0.9973 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.388e-06/0.3884, allocations: 3.938 kB / 0.9973 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007425/0.3959, allocations: 1.873 MB / 0.9991 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3959, allocations: 59.97 kB / 0.9991 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3978, allocations: 1.245 MB / 1 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.398, allocations: 41.7 kB / 1 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/0.3986, allocations: 0.5947 MB / 1.001 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.3989, allocations: 216.9 kB / 1.001 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.3989, allocations: 11.94 kB / 1.001 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3991, allocations: 345.9 kB / 1.002 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.3998, allocations: 297.8 kB / 1.002 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009111/0.4007, allocations: 0.492 MB / 1.002 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.4015, allocations: 363 kB / 1.003 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4015, allocations: 4 kB / 1.003 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005278/0.4068, allocations: 1.398 MB / 1.004 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005981/0.4074, allocations: 1.422 MB / 1.005 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4075, allocations: 4 kB / 1.005 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.4081, allocations: 148.7 kB / 1.006 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.4088, allocations: 159.8 kB / 1.006 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008621/0.4097, allocations: 0.7123 MB / 1.006 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.4111, allocations: 171.1 kB / 1.007 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.4111, allocations: 31.98 kB / 1.007 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4112, allocations: 4 kB / 1.007 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004487/0.4157, allocations: 1.249 MB / 1.008 GB, free: 464 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4157, allocations: 4.375 kB / 1.008 GB, free: 460 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/0.4162, allocations: 148.7 kB / 1.008 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.4168, allocations: 167.7 kB / 1.008 GB, free: 140 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008476/0.4177, allocations: 0.7084 MB / 1.009 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4191, allocations: 167.2 kB / 1.009 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.4192, allocations: 27.98 kB / 1.009 GB, free: 15.21 MB / 0.6667 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 (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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008141/0.42, allocations: 420.8 kB / 1.009 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.4203, allocations: 142.2 kB / 1.01 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.4251, allocations: 1.396 MB / 1.011 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.4252, allocations: 8 kB / 1.011 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4252, allocations: 0 / 1.011 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00433/0.4295, allocations: 1.236 MB / 1.012 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/0.4369, allocations: 2.743 MB / 1.015 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4369, allocations: 4 kB / 1.015 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.4375, allocations: 128.2 kB / 1.015 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/0.438, allocations: 140.7 kB / 1.015 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.4381, allocations: 19.98 kB / 1.015 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.4431, allocations: 2.501 MB / 1.018 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4431, allocations: 7.938 kB / 1.018 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/0.4489, allocations: 2.057 MB / 1.02 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008947/0.4498, allocations: 339 kB / 1.02 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.45, allocations: 20.06 kB / 1.02 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.4509, allocations: 91.91 kB / 1.02 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4511, allocations: 64.81 kB / 1.02 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.4511, allocations: 27.98 kB / 1.02 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001305/0.4524, allocations: 0.8893 MB / 1.021 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4524, allocations: 0 / 1.021 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002035/0.4545, allocations: 0.729 MB / 1.022 GB, free: 1.715 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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006855/0.4613, allocations: 3.859 MB / 1.025 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.4641, allocations: 1.16 MB / 1.027 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.4641, allocations: 192 / 1.027 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.4656, allocations: 0.5953 MB / 1.027 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/0.4694, allocations: 0.7603 MB / 1.028 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/0.4762, allocations: 5.916 MB / 1.034 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.4771, allocations: 1.195 MB / 1.035 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001538/0.4787, allocations: 303 kB / 1.035 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007049/0.4794, allocations: 0.5032 MB / 1.036 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of SimCode: time 3.236e-06/0.4794, allocations: 0 / 1.036 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4908/0.9702, allocations: 41.94 MB / 1.077 GB, free: 137.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.9705, allocations: 249.5 kB / 1.077 GB, free: 137.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.225/4.196, allocations: 3.938 kB / 1.077 GB, free: 137.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)