Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.715/2.715, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001543, allocations: 175 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 100.5 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006635/0.0006637, allocations: 12.8 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2222, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.09264/0.3149, allocations: 62.95 MB / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.3392, allocations: 10.89 MB / 1.05 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.3419, allocations: 51.62 kB / 1.05 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.346, allocations: 0.7423 MB / 1.051 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.3568, allocations: 2.25 MB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007406/0.3642, allocations: 1.529 MB / 1.055 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006855/0.3711, allocations: 2.48 MB / 1.057 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.3737, allocations: 1.017 MB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.3776, allocations: 1.152 MB / 1.059 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.3798, allocations: 0.7738 MB / 1.06 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003554/0.3802, allocations: 63.92 kB / 1.06 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.3841, allocations: 0.8387 MB / 1.061 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005731/0.3847, allocations: 258.9 kB / 1.061 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.3856, allocations: 349 kB / 1.062 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004587/0.3902, allocations: 2.014 MB / 1.064 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3902, allocations: 0 / 1.064 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3902, allocations: 0 / 1.064 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.746e-05/0.3903, allocations: 4 kB / 1.064 GB, free: 4.75 MB / 0.6823 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.005651/0.396, allocations: 1.775 MB / 1.065 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.3961, allocations: 16.03 kB / 1.065 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004872/0.3966, allocations: 147.9 kB / 1.065 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.3981, allocations: 237.9 kB / 1.066 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.4023, allocations: 1.365 MB / 1.067 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.4025, allocations: 74 kB / 1.067 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.4027, allocations: 104 kB / 1.067 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6548/1.058, allocations: 1.101 MB / 1.068 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/1.058, allocations: 4.375 kB / 1.068 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.058, allocations: 39.59 kB / 1.068 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.716e-05/1.058, allocations: 26.28 kB / 1.068 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/1.062, allocations: 0.9232 MB / 1.069 GB, free: 91.03 MB / 0.6823 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.01019/1.072, allocations: 4.959 MB / 1.074 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/1.075, allocations: 0.6404 MB / 1.075 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007223/1.075, allocations: 0.8305 MB / 1.076 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/1.076, allocations: 42.28 kB / 1.076 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.787e-06/1.076, allocations: 1.031 kB / 1.076 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01383/1.089, allocations: 1.868 MB / 1.077 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.09, allocations: 58.41 kB / 1.077 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/1.093, allocations: 1.247 MB / 1.079 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002125/1.093, allocations: 43.08 kB / 1.079 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/1.093, allocations: 0.6003 MB / 1.079 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/1.094, allocations: 217.3 kB / 1.079 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/1.094, allocations: 21.56 kB / 1.08 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.094, allocations: 333.7 kB / 1.08 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/1.095, allocations: 292.3 kB / 1.08 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/1.097, allocations: 0.4958 MB / 1.081 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/1.098, allocations: 365.2 kB / 1.081 GB, free: 84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/1.098, allocations: 0.5312 kB / 1.081 GB, free: 84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009273/1.108, allocations: 1.394 MB / 1.082 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003337/1.108, allocations: 1.42 MB / 1.084 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.108, allocations: 5.719 kB / 1.084 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.109, allocations: 149 kB / 1.084 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.11, allocations: 163.6 kB / 1.084 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/1.112, allocations: 0.7042 MB / 1.085 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/1.114, allocations: 181.2 kB / 1.085 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.114, allocations: 30.97 kB / 1.085 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.114, allocations: 3.094 kB / 1.085 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008542/1.123, allocations: 1.25 MB / 1.086 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.123, allocations: 6.031 kB / 1.086 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008923/1.124, allocations: 147.6 kB / 1.086 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.125, allocations: 166.2 kB / 1.086 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.126, allocations: 0.7016 MB / 1.087 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.128, allocations: 165.7 kB / 1.087 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.129, allocations: 35.47 kB / 1.087 GB, free: 80.4 MB / 0.6823 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.0009184/1.129, allocations: 421.5 kB / 1.088 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/1.13, allocations: 130.7 kB / 1.088 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008645/1.138, allocations: 1.397 MB / 1.089 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/1.139, allocations: 8.391 kB / 1.089 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.139, allocations: 1.312 kB / 1.089 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008077/1.147, allocations: 1.231 MB / 1.09 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.159, allocations: 2.76 MB / 1.093 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.159, allocations: 4.031 kB / 1.093 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.16, allocations: 120.3 kB / 1.093 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008834/1.161, allocations: 142.5 kB / 1.093 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/1.161, allocations: 18.73 kB / 1.093 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00856/1.17, allocations: 2.507 MB / 1.096 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.17, allocations: 11.81 kB / 1.096 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.18, allocations: 2.051 MB / 1.098 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.181, allocations: 345.4 kB / 1.098 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/1.181, allocations: 20.41 kB / 1.098 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.183, allocations: 97.97 kB / 1.098 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/1.183, allocations: 62.75 kB / 1.098 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.184, allocations: 30.95 kB / 1.098 GB, free: 74.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001976/1.186, allocations: 0.8929 MB / 1.099 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.82e-07/1.186, allocations: 0 / 1.099 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003217/1.189, allocations: 0.7168 MB / 1.1 GB, free: 74.23 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.01148/1.2, allocations: 3.847 MB / 1.104 GB, free: 71.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004577/1.205, allocations: 1.165 MB / 1.105 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.205, allocations: 5.797 kB / 1.105 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/1.208, allocations: 0.5869 MB / 1.105 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/1.214, allocations: 0.7606 MB / 1.106 GB, free: 70.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/1.223, allocations: 5.929 MB / 1.112 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/1.224, allocations: 1.2 MB / 1.113 GB, free: 65.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002264/1.226, allocations: 301.9 kB / 1.113 GB, free: 64.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.227, allocations: 0.5042 MB / 1.114 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of SimCode: time 2.064e-06/1.227, allocations: 3.938 kB / 1.114 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/1.336, allocations: 42.06 MB / 1.155 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/1.337, allocations: 233.2 kB / 1.155 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/5.67, allocations: 0 / 1.155 GB, free: 29.68 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)