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.0009405/0.0009404, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009509/0.0009509, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.875 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 2.047/2.047, allocations: 292.6 MB / 0.5498 GB, free: 14.59 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.0005342/0.0005345, allocations: 15.28 kB / 0.6737 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2373, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06447/0.3018, allocations: 62.96 MB / 0.8487 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.3187, allocations: 10.88 MB / 0.8593 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.3219, allocations: 51.62 kB / 0.8594 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003188/0.3251, allocations: 0.7501 MB / 0.8601 GB, free: 1.055 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008595/0.3337, allocations: 2.244 MB / 0.8623 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005241/0.339, allocations: 1.533 MB / 0.8638 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005118/0.3441, allocations: 2.475 MB / 0.8662 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.3462, allocations: 1.033 MB / 0.8672 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/0.3491, allocations: 1.156 MB / 0.8684 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.3508, allocations: 0.7661 MB / 0.8691 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003432/0.3512, allocations: 56 kB / 0.8692 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.354, allocations: 0.8386 MB / 0.87 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005095/0.3546, allocations: 254.9 kB / 0.8702 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007471/0.3553, allocations: 356.9 kB / 0.8706 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.359, allocations: 2.011 MB / 0.8725 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3591, allocations: 0 / 0.8725 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.526e-06/0.3591, allocations: 4 kB / 0.8725 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000107/0.3592, allocations: 0 / 0.8725 GB, free: 4.309 MB / 0.6856 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.004867/0.3641, allocations: 1.779 MB / 0.8743 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3642, allocations: 8.031 kB / 0.8743 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002969/0.3645, allocations: 155.9 kB / 0.8744 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.3654, allocations: 241.9 kB / 0.8746 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.3684, allocations: 1.365 MB / 0.876 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.3685, allocations: 74 kB / 0.8761 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.3687, allocations: 108 kB / 0.8762 GB, free: 472 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.3708, allocations: 1.104 MB / 0.8772 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.3708, allocations: 7.938 kB / 0.8772 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.3709, allocations: 40 kB / 0.8773 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.371, allocations: 28 kB / 0.8773 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.3732, allocations: 0.9173 MB / 0.8782 GB, free: 14.33 MB / 0.7012 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.007577/0.3808, allocations: 4.973 MB / 0.8831 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.3823, allocations: 0.639 MB / 0.8837 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007346/0.383, allocations: 0.8238 MB / 0.8845 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.3831, allocations: 47.12 kB / 0.8845 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.725e-06/0.3831, allocations: 0 / 0.8845 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007366/0.3905, allocations: 1.866 MB / 0.8864 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3906, allocations: 59.97 kB / 0.8864 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.3926, allocations: 1.248 MB / 0.8876 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.3927, allocations: 37.7 kB / 0.8877 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/0.3933, allocations: 0.6026 MB / 0.8883 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.3935, allocations: 212.9 kB / 0.8885 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3935, allocations: 16 kB / 0.8885 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3937, allocations: 334 kB / 0.8888 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.3944, allocations: 293.8 kB / 0.8891 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009404/0.3953, allocations: 0.5076 MB / 0.8896 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/0.3961, allocations: 355 kB / 0.8899 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3961, allocations: 0 / 0.8899 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004723/0.4009, allocations: 1.398 MB / 0.8913 GB, free: 304 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005745/0.4015, allocations: 1.414 MB / 0.8927 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4015, allocations: 7.953 kB / 0.8927 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.4021, allocations: 144.7 kB / 0.8928 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.4028, allocations: 167.8 kB / 0.893 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008845/0.4037, allocations: 0.7083 MB / 0.8936 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.4051, allocations: 174.9 kB / 0.8938 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/0.4052, allocations: 39.97 kB / 0.8939 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4053, allocations: 4 kB / 0.8939 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004393/0.4097, allocations: 1.245 MB / 0.8951 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4097, allocations: 4 kB / 0.8951 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/0.4102, allocations: 145.1 kB / 0.8952 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.4108, allocations: 167.8 kB / 0.8954 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007794/0.4116, allocations: 0.7084 MB / 0.8961 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4129, allocations: 171 kB / 0.8962 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/0.413, allocations: 35.98 kB / 0.8963 GB, free: 11.03 MB / 0.7169 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.0007749/0.4138, allocations: 413 kB / 0.8967 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.4141, allocations: 134.4 kB / 0.8968 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/0.4188, allocations: 1.4 MB / 0.8982 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.4189, allocations: 12 kB / 0.8982 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4189, allocations: 0 / 0.8982 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004101/0.423, allocations: 1.228 MB / 0.8994 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00678/0.4298, allocations: 2.754 MB / 0.9021 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4298, allocations: 4 kB / 0.9021 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.4304, allocations: 132.2 kB / 0.9022 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/0.4309, allocations: 132.8 kB / 0.9023 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.431, allocations: 19.98 kB / 0.9023 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.4361, allocations: 2.501 MB / 0.9048 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.4361, allocations: 4 kB / 0.9048 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00552/0.4417, allocations: 2.049 MB / 0.9068 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.4424, allocations: 347.1 kB / 0.9071 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.4426, allocations: 16 kB / 0.9071 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.4436, allocations: 100.3 kB / 0.9072 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4437, allocations: 52.33 kB / 0.9073 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.4438, allocations: 35.97 kB / 0.9073 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001335/0.4451, allocations: 0.8932 MB / 0.9082 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4451, allocations: 4 kB / 0.9082 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002061/0.4472, allocations: 0.7174 MB / 0.9089 GB, free: 13.54 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 (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.006831/0.4541, allocations: 3.857 MB / 0.9126 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.4567, allocations: 1.164 MB / 0.9138 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4567, allocations: 0 / 0.9138 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.4582, allocations: 0.5994 MB / 0.9144 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/0.4621, allocations: 0.7552 MB / 0.9151 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.4697, allocations: 5.935 MB / 0.9209 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3946/0.8643, allocations: 1.191 MB / 0.9221 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001831/0.8662, allocations: 297.5 kB / 0.9223 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008668/0.8671, allocations: 0.5008 MB / 0.9228 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/0.8671, allocations: 4.781 kB / 0.9228 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08857/0.9556, allocations: 42.05 MB / 0.9639 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.9558, allocations: 237.6 kB / 0.9641 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/3.87, allocations: 0 / 0.9641 GB, free: 114.6 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/linux/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) Environment - environmentSimulation: