Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_10_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.001286/0.001287, allocations: 108 kB / 15.6 MB, free: 132 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.00135/0.00135, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.589/0.5905, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06218/0.6527, allocations: 75.18 MB / 1.091 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.6686, allocations: 12.76 MB / 1.103 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/0.6705, allocations: 67.62 kB / 1.103 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.6723, allocations: 0.8306 MB / 1.104 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.6776, allocations: 2.469 MB / 1.107 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.6804, allocations: 1.379 MB / 1.108 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00416/0.6845, allocations: 4.381 MB / 1.112 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.6861, allocations: 1.437 MB / 1.114 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.6887, allocations: 1.607 MB / 1.115 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.69, allocations: 1.198 MB / 1.116 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.6902, allocations: 160 kB / 1.116 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.6928, allocations: 1.404 MB / 1.118 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.6931, allocations: 398.6 kB / 1.118 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007665/0.6939, allocations: 0.8944 MB / 1.119 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.6967, allocations: 2.832 MB / 1.122 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6968, allocations: 4 kB / 1.122 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6968, allocations: 4 kB / 1.122 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.6968, allocations: 0 / 1.122 GB, free: 7.133 MB / 0.8731 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.003082/0.6999, allocations: 2.079 MB / 1.124 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.6999, allocations: 12.03 kB / 1.124 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.7001, allocations: 148.1 kB / 1.124 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.7008, allocations: 234.7 kB / 1.124 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.7028, allocations: 1.442 MB / 1.126 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.7029, allocations: 74 kB / 1.126 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.703, allocations: 107.9 kB / 1.126 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.7047, allocations: 1.104 MB / 1.127 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.7047, allocations: 0 / 1.127 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.7048, allocations: 36 kB / 1.127 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.7049, allocations: 28 kB / 1.127 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.7066, allocations: 0.8822 MB / 1.128 GB, free: 0.8359 MB / 0.8731 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.004818/0.7114, allocations: 4.939 MB / 1.133 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.7127, allocations: 0.6236 MB / 1.133 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006674/0.7133, allocations: 347.9 kB / 1.134 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/0.7139, allocations: 0.8316 MB / 1.134 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.7139, allocations: 39.12 kB / 1.134 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 1.683e-06/0.7139, allocations: 7.938 kB / 1.134 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.006639/0.7206, allocations: 1.674 MB / 1.136 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.7206, allocations: 55.97 kB / 1.136 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.7222, allocations: 1.229 MB / 1.137 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.7223, allocations: 41.64 kB / 1.137 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.7227, allocations: 0.6103 MB / 1.138 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.7229, allocations: 216.9 kB / 1.138 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.7231, allocations: 154.5 kB / 1.138 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.7232, allocations: 334 kB / 1.139 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.7238, allocations: 296.7 kB / 1.139 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.7245, allocations: 491.9 kB / 1.139 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.7259, allocations: 0.709 MB / 1.14 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.7259, allocations: 7.938 kB / 1.14 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004445/0.7304, allocations: 1.265 MB / 1.141 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7304, allocations: 10.19 kB / 1.141 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7304, allocations: 4 kB / 1.141 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.7309, allocations: 137 kB / 1.142 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.7315, allocations: 159.8 kB / 1.142 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007474/0.7323, allocations: 0.6927 MB / 1.142 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.7331, allocations: 131 kB / 1.142 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.7331, allocations: 32 kB / 1.143 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009146/0.7341, allocations: 0.5487 MB / 1.143 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007364/0.7348, allocations: 489.2 kB / 1.144 GB, free: 4 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001314/0.7361, allocations: 0.705 MB / 1.144 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.175e-06/0.7362, allocations: 0 / 1.144 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004415/0.7406, allocations: 1.265 MB / 1.145 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.7406, allocations: 8 kB / 1.145 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7406, allocations: 4 kB / 1.145 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/0.7411, allocations: 140.9 kB / 1.146 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.7416, allocations: 155.8 kB / 1.146 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000699/0.7423, allocations: 0.6967 MB / 1.146 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/0.7431, allocations: 99.52 kB / 1.146 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.7432, allocations: 35.98 kB / 1.147 GB, free: 12.81 MB / 0.9044 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.0001631/0.7434, allocations: 224.6 kB / 1.147 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.7436, allocations: 134.3 kB / 1.147 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.748, allocations: 1.271 MB / 1.148 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.748, allocations: 4 kB / 1.148 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.748, allocations: 0 / 1.148 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003942/0.752, allocations: 1.099 MB / 1.149 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/0.7578, allocations: 2.625 MB / 1.152 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.7578, allocations: 4.438 kB / 1.152 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.7583, allocations: 115.9 kB / 1.152 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.7587, allocations: 128.7 kB / 1.152 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.7588, allocations: 27.92 kB / 1.152 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.7635, allocations: 2.594 MB / 1.155 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7635, allocations: 15.86 kB / 1.155 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.7684, allocations: 1.688 MB / 1.156 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.7688, allocations: 315.1 kB / 1.157 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.769, allocations: 16 kB / 1.157 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/0.7697, allocations: 60 kB / 1.157 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7699, allocations: 60.23 kB / 1.157 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.7699, allocations: 27.98 kB / 1.157 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001053/0.771, allocations: 0.8816 MB / 1.158 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/0.771, allocations: 4 kB / 1.158 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001536/0.7725, allocations: 0.7135 MB / 1.158 GB, free: 412 kB / 0.9044 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.005975/0.7785, allocations: 2.581 MB / 1.161 GB, free: 13.75 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.781, allocations: 1.153 MB / 1.162 GB, free: 12.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.781, allocations: 0 / 1.162 GB, free: 12.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.7824, allocations: 0.5604 MB / 1.162 GB, free: 12.03 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/0.7856, allocations: 0.8126 MB / 1.163 GB, free: 11.24 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.8037, allocations: 10.45 MB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.8043, allocations: 1.172 MB / 1.175 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001012/0.8053, allocations: 307 kB / 1.175 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.8059, allocations: 0.5071 MB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.806, allocations: 0 / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.985/6.791, allocations: 42.2 MB / 1.217 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/20.61, allocations: 4 kB / 1.217 GB, free: 4.582 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)