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.464/1.464, allocations: 252 MB / 267 MB, free: 10.97 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.001069/0.001069, allocations: 182.1 kB / 326.6 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.9/1.9, allocations: 205.4 MB / 0.5777 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.0007558/0.0007557, allocations: 90.28 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004549, allocations: 13.56 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2447, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05159/0.2963, allocations: 69.41 MB / 0.9681 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01997/0.3163, allocations: 11.79 MB / 0.9796 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.3196, allocations: 55.62 kB / 0.9796 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.3228, allocations: 0.5744 MB / 0.9802 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.3307, allocations: 1.881 MB / 0.982 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.3343, allocations: 0.9373 MB / 0.983 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007059/0.3413, allocations: 4.75 MB / 0.9876 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.3434, allocations: 0.9937 MB / 0.9886 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.3467, allocations: 1.252 MB / 0.9898 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.349, allocations: 1.077 MB / 0.9908 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.3493, allocations: 52 kB / 0.9909 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.3523, allocations: 0.9198 MB / 0.9918 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.3527, allocations: 278.7 kB / 0.9921 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007289/0.3534, allocations: 352.9 kB / 0.9924 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.3571, allocations: 2.065 MB / 0.9944 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3571, allocations: 0 / 0.9944 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.449e-06/0.3572, allocations: 4 kB / 0.9944 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.879e-05/0.3572, allocations: 0 / 0.9944 GB, free: 15.16 MB / 0.6511 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.004026/0.3612, allocations: 1.791 MB / 0.9962 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.3613, allocations: 8.031 kB / 0.9962 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.3616, allocations: 147.9 kB / 0.9963 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.3624, allocations: 234 kB / 0.9965 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.3651, allocations: 1.446 MB / 0.9979 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.3652, allocations: 78 kB / 0.998 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.3654, allocations: 100 kB / 0.9981 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.3676, allocations: 1.104 MB / 0.9992 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.3676, allocations: 3.906 kB / 0.9992 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/0.3677, allocations: 36 kB / 0.9992 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.3678, allocations: 28 kB / 0.9993 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.3699, allocations: 0.9173 MB / 1 GB, free: 9.113 MB / 0.6511 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.006871/0.3768, allocations: 4.911 MB / 1.005 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3782, allocations: 0.6358 MB / 1.006 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.379, allocations: 362.3 kB / 1.006 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.3797, allocations: 0.8355 MB / 1.007 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.3797, allocations: 43.06 kB / 1.007 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.537e-06/0.3797, allocations: 0 / 1.007 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007676/0.3874, allocations: 1.877 MB / 1.009 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3875, allocations: 59.97 kB / 1.009 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.3894, allocations: 1.19 MB / 1.01 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.3896, allocations: 37.7 kB / 1.01 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/0.3902, allocations: 0.6103 MB / 1.01 GB, free: 14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.3905, allocations: 212.9 kB / 1.011 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3905, allocations: 12 kB / 1.011 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3907, allocations: 337.9 kB / 1.011 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007103/0.3914, allocations: 301.8 kB / 1.011 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.3923, allocations: 0.4998 MB / 1.012 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007798/0.3931, allocations: 363 kB / 1.012 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3932, allocations: 3.938 kB / 1.012 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00524/0.3984, allocations: 1.386 MB / 1.013 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.3987, allocations: 202.2 kB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.3987, allocations: 0 / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008084/0.3996, allocations: 148.7 kB / 1.014 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.4005, allocations: 167.8 kB / 1.014 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.4016, allocations: 0.7084 MB / 1.015 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.4035, allocations: 171 kB / 1.015 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.4037, allocations: 36 kB / 1.015 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4037, allocations: 3.984 kB / 1.015 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004671/0.4084, allocations: 1.245 MB / 1.016 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4084, allocations: 4 kB / 1.016 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.409, allocations: 149 kB / 1.016 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.4096, allocations: 159.8 kB / 1.016 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008451/0.4105, allocations: 0.7162 MB / 1.017 GB, free: 7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.412, allocations: 159.2 kB / 1.017 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.412, allocations: 35.92 kB / 1.017 GB, free: 6.809 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.0008836/0.4129, allocations: 413 kB / 1.018 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.4132, allocations: 134.3 kB / 1.018 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/0.418, allocations: 1.396 MB / 1.019 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.418, allocations: 8 kB / 1.019 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.418, allocations: 3.984 kB / 1.019 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004249/0.4223, allocations: 1.228 MB / 1.02 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007606/0.4299, allocations: 2.727 MB / 1.023 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.43, allocations: 7.938 kB / 1.023 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.4306, allocations: 128.2 kB / 1.023 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005481/0.4311, allocations: 132.8 kB / 1.023 GB, free: 480 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.4312, allocations: 23.98 kB / 1.023 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00495/0.4362, allocations: 2.431 MB / 1.026 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4362, allocations: 11.88 kB / 1.026 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005696/0.4419, allocations: 1.84 MB / 1.027 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008236/0.4428, allocations: 331.2 kB / 1.028 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.4429, allocations: 24.05 kB / 1.028 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.4438, allocations: 91.78 kB / 1.028 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.444, allocations: 60.27 kB / 1.028 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.4441, allocations: 27.98 kB / 1.028 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001373/0.4454, allocations: 0.8583 MB / 1.029 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4454, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001982/0.4474, allocations: 0.7056 MB / 1.03 GB, free: 9.844 MB / 0.6823 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.006956/0.4544, allocations: 2.706 MB / 1.032 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003209/0.4576, allocations: 1.157 MB / 1.033 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.4577, allocations: 4.188 kB / 1.033 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.4593, allocations: 0.5953 MB / 1.034 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005532/0.4648, allocations: 0.7669 MB / 1.035 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/0.4872, allocations: 8.313 MB / 1.043 GB, free: 11.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.4881, allocations: 1.172 MB / 1.044 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001624/0.4898, allocations: 302.9 kB / 1.044 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006968/0.4905, allocations: 0.5031 MB / 1.045 GB, free: 9.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.4905, allocations: 0 / 1.045 GB, free: 9.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5025/0.993, allocations: 42.03 MB / 1.086 GB, free: 135 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.9932, allocations: 260.6 kB / 1.086 GB, free: 134.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.442/4.435, allocations: 0 / 1.086 GB, free: 134.7 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)