Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_8_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.0009965/0.001, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005947/0.005947, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.497/1.497, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004361, allocations: 17.41 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05777/0.2203, allocations: 73.43 MB / 0.8597 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.2341, allocations: 12.57 MB / 0.872 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008916/0.235, allocations: 55.62 kB / 0.872 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2363, allocations: 0.6681 MB / 0.8727 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.24, allocations: 2.255 MB / 0.8749 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.2422, allocations: 1.283 MB / 0.8761 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004192/0.2464, allocations: 5.515 MB / 0.8815 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.2476, allocations: 1.132 MB / 0.8826 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.2492, allocations: 1.314 MB / 0.8839 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.2502, allocations: 1.135 MB / 0.885 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2504, allocations: 56 kB / 0.8851 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.2522, allocations: 1.239 MB / 0.8863 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.2524, allocations: 290.5 kB / 0.8866 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006093/0.2531, allocations: 0.8022 MB / 0.8873 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.2553, allocations: 2.714 MB / 0.89 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2553, allocations: 0 / 0.89 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2553, allocations: 0 / 0.89 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.2553, allocations: 0 / 0.89 GB, free: 2.676 MB / 0.7012 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.00264/0.258, allocations: 1.783 MB / 0.8917 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.258, allocations: 8.031 kB / 0.8917 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.2582, allocations: 148.1 kB / 0.8919 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.2589, allocations: 246.7 kB / 0.8921 GB, free: 436 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.2608, allocations: 1.477 MB / 0.8936 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.2608, allocations: 74 kB / 0.8936 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.261, allocations: 100 kB / 0.8937 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.2627, allocations: 1.124 MB / 0.8948 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.2628, allocations: 4 kB / 0.8948 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.2628, allocations: 43.94 kB / 0.8949 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.2629, allocations: 24 kB / 0.8949 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.2646, allocations: 0.929 MB / 0.8958 GB, free: 12.57 MB / 0.7169 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.004656/0.2693, allocations: 4.923 MB / 0.9006 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2705, allocations: 0.6429 MB / 0.9012 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.2712, allocations: 366.3 kB / 0.9016 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/0.2717, allocations: 0.8355 MB / 0.9024 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2717, allocations: 39.12 kB / 0.9024 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 1.463e-06/0.2717, allocations: 0 / 0.9024 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006742/0.2785, allocations: 1.881 MB / 0.9043 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2785, allocations: 59.97 kB / 0.9043 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.2798, allocations: 1.205 MB / 0.9055 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.2799, allocations: 41.69 kB / 0.9056 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.2803, allocations: 0.6025 MB / 0.9061 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.2804, allocations: 212.9 kB / 0.9063 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.2805, allocations: 65.67 kB / 0.9064 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.2806, allocations: 333.9 kB / 0.9067 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.2812, allocations: 301.8 kB / 0.907 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.282, allocations: 0.5047 MB / 0.9075 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.2833, allocations: 0.7558 MB / 0.9082 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2833, allocations: 11.94 kB / 0.9083 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0044/0.2877, allocations: 1.398 MB / 0.9096 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.2878, allocations: 198.2 kB / 0.9098 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2879, allocations: 4 kB / 0.9098 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005087/0.2884, allocations: 148.7 kB / 0.91 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.2889, allocations: 167.8 kB / 0.9101 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007354/0.2897, allocations: 0.7083 MB / 0.9108 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009498/0.2906, allocations: 182.9 kB / 0.911 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.2907, allocations: 24 kB / 0.911 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.2907, allocations: 8 kB / 0.911 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004209/0.2949, allocations: 1.257 MB / 0.9122 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2949, allocations: 4 kB / 0.9122 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.2954, allocations: 141.1 kB / 0.9124 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.2959, allocations: 163.8 kB / 0.9125 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006905/0.2966, allocations: 0.72 MB / 0.9132 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008925/0.2975, allocations: 151.2 kB / 0.9134 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.2976, allocations: 32.17 kB / 0.9134 GB, free: 9.699 MB / 0.7325 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.0004073/0.298, allocations: 424.9 kB / 0.9138 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.2982, allocations: 138.3 kB / 0.9139 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.3026, allocations: 1.396 MB / 0.9153 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3026, allocations: 4 kB / 0.9153 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3026, allocations: 0 / 0.9153 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003955/0.3066, allocations: 1.236 MB / 0.9165 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.3123, allocations: 2.727 MB / 0.9192 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3123, allocations: 7.984 kB / 0.9192 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.3127, allocations: 124.2 kB / 0.9193 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.3132, allocations: 136.7 kB / 0.9194 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.3132, allocations: 23.92 kB / 0.9195 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/0.3175, allocations: 2.435 MB / 0.9218 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3175, allocations: 8.062 kB / 0.9218 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2864/0.6039, allocations: 1.842 MB / 0.9236 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/0.6045, allocations: 333.8 kB / 0.924 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.6046, allocations: 16.56 kB / 0.924 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.6055, allocations: 100 kB / 0.9241 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.6056, allocations: 58.48 kB / 0.9241 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.6057, allocations: 32.81 kB / 0.9242 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001063/0.6067, allocations: 0.8657 MB / 0.925 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6067, allocations: 0 / 0.925 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001583/0.6083, allocations: 0.7152 MB / 0.9257 GB, free: 132.8 MB / 0.7325 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.005607/0.6139, allocations: 2.717 MB / 0.9284 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.616, allocations: 1.168 MB / 0.9295 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.616, allocations: 3.031 kB / 0.9295 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.6173, allocations: 0.6019 MB / 0.9301 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.6209, allocations: 0.8082 MB / 0.9309 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.6417, allocations: 11.15 MB / 0.9418 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.6424, allocations: 1.173 MB / 0.9429 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001072/0.6435, allocations: 305.7 kB / 0.9432 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.6441, allocations: 0.5096 MB / 0.9437 GB, free: 125 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/0.6441, allocations: 0 / 0.9437 GB, free: 125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.041/1.685, allocations: 42.53 MB / 0.9852 GB, free: 95.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/1.686, allocations: 256 kB / 0.9855 GB, free: 95.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/4.545, allocations: 0 / 0.9855 GB, free: 95.5 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)