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.813/2.813, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001359/0.001359, allocations: 185.1 kB / 371 MB, free: 10.85 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.249/2.249, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008815/0.0008813, allocations: 89.64 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005044, allocations: 16.77 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2594, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.138/0.3974, allocations: 69.41 MB / 1.046 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03353/0.431, allocations: 11.85 MB / 1.058 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.4339, allocations: 55.62 kB / 1.058 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.4372, allocations: 0.5627 MB / 1.058 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008441/0.4457, allocations: 1.883 MB / 1.06 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005016/0.4507, allocations: 0.9699 MB / 1.061 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009062/0.4598, allocations: 4.759 MB / 1.066 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/0.4626, allocations: 1.002 MB / 1.067 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.4667, allocations: 1.268 MB / 1.068 GB, free: 264 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6738/1.141, allocations: 1.059 MB / 1.069 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006354/1.141, allocations: 56.16 kB / 1.069 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/1.146, allocations: 0.9272 MB / 1.07 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/1.147, allocations: 268.1 kB / 1.07 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.149, allocations: 355.4 kB / 1.071 GB, free: 34.04 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006092/1.155, allocations: 2.078 MB / 1.073 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.155, allocations: 0.6875 kB / 1.073 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.986e-06/1.155, allocations: 0 / 1.073 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.532e-05/1.155, allocations: 4.062 kB / 1.073 GB, free: 33.98 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.007233/1.162, allocations: 1.794 MB / 1.074 GB, free: 33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.162, allocations: 10.91 kB / 1.074 GB, free: 33 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007257/1.163, allocations: 145.8 kB / 1.075 GB, free: 32.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/1.165, allocations: 241.9 kB / 1.075 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005356/1.17, allocations: 1.433 MB / 1.076 GB, free: 32.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/1.17, allocations: 80.22 kB / 1.076 GB, free: 32.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/1.171, allocations: 104.1 kB / 1.076 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/1.175, allocations: 1.111 MB / 1.077 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.444e-05/1.175, allocations: 5.625 kB / 1.077 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/1.176, allocations: 40.94 kB / 1.078 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/1.176, allocations: 27.81 kB / 1.078 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004338/1.18, allocations: 0.917 MB / 1.078 GB, free: 32.39 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.01284/1.193, allocations: 4.92 MB / 1.083 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/1.196, allocations: 0.6387 MB / 1.084 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/1.197, allocations: 367.3 kB / 1.084 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007598/1.198, allocations: 0.8278 MB / 1.085 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/1.198, allocations: 37.03 kB / 1.085 GB, free: 29.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.589e-06/1.198, allocations: 4 kB / 1.085 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01385/1.212, allocations: 1.873 MB / 1.087 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.212, allocations: 62.06 kB / 1.087 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/1.215, allocations: 1.196 MB / 1.088 GB, free: 28.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/1.215, allocations: 41.08 kB / 1.088 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006386/1.216, allocations: 0.5974 MB / 1.089 GB, free: 28.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.216, allocations: 212.2 kB / 1.089 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/1.217, allocations: 17 kB / 1.089 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/1.217, allocations: 330.1 kB / 1.089 GB, free: 28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.218, allocations: 298.6 kB / 1.09 GB, free: 28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.219, allocations: 0.5032 MB / 1.09 GB, free: 27.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.221, allocations: 357.2 kB / 1.09 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.221, allocations: 3.953 kB / 1.09 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008598/1.229, allocations: 1.396 MB / 1.092 GB, free: 27.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/1.229, allocations: 196.9 kB / 1.092 GB, free: 27.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.229, allocations: 3.688 kB / 1.092 GB, free: 27.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.23, allocations: 148.1 kB / 1.092 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.232, allocations: 169.7 kB / 1.092 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/1.233, allocations: 0.7043 MB / 1.093 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.236, allocations: 172.9 kB / 1.093 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/1.236, allocations: 30.89 kB / 1.093 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.236, allocations: 3.156 kB / 1.093 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00889/1.245, allocations: 1.255 MB / 1.094 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/1.245, allocations: 4.031 kB / 1.094 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009092/1.246, allocations: 142.2 kB / 1.094 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.248, allocations: 166.4 kB / 1.095 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.25, allocations: 0.7057 MB / 1.095 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/1.252, allocations: 161.8 kB / 1.095 GB, free: 26.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/1.253, allocations: 30.84 kB / 1.096 GB, free: 26.17 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.001372/1.254, allocations: 425.2 kB / 1.096 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/1.255, allocations: 136.1 kB / 1.096 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009109/1.264, allocations: 1.397 MB / 1.097 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/1.264, allocations: 7.859 kB / 1.097 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.264, allocations: 0.6094 kB / 1.097 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007961/1.272, allocations: 1.229 MB / 1.099 GB, free: 25.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.285, allocations: 2.737 MB / 1.101 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/1.285, allocations: 3.562 kB / 1.101 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.286, allocations: 117.5 kB / 1.101 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/1.287, allocations: 142.2 kB / 1.102 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.287, allocations: 19.86 kB / 1.102 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007826/1.295, allocations: 2.439 MB / 1.104 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.295, allocations: 5.312 kB / 1.104 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009947/1.305, allocations: 1.849 MB / 1.106 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.306, allocations: 336.7 kB / 1.106 GB, free: 22.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007136/1.307, allocations: 15.97 kB / 1.106 GB, free: 22.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/1.31, allocations: 89.5 kB / 1.106 GB, free: 22.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/1.31, allocations: 65.69 kB / 1.106 GB, free: 22.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.31, allocations: 35.11 kB / 1.106 GB, free: 22.97 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002071/1.312, allocations: 0.8539 MB / 1.107 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.12e-07/1.312, allocations: 3.438 kB / 1.107 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003577/1.316, allocations: 0.7062 MB / 1.108 GB, free: 22.77 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.01115/1.327, allocations: 2.692 MB / 1.11 GB, free: 21.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00464/1.332, allocations: 1.157 MB / 1.112 GB, free: 21.76 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.332, allocations: 0.9688 kB / 1.112 GB, free: 21.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00261/1.334, allocations: 0.6036 MB / 1.112 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007066/1.342, allocations: 0.7729 MB / 1.113 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/1.376, allocations: 8.315 MB / 1.121 GB, free: 18.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008969/1.377, allocations: 1.171 MB / 1.122 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002367/1.379, allocations: 305.2 kB / 1.122 GB, free: 17.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.38, allocations: 0.5031 MB / 1.123 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/1.38, allocations: 0 / 1.123 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.527, allocations: 42.14 MB / 1.164 GB, free: 2.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/1.527, allocations: 248.5 kB / 1.164 GB, free: 2.473 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/5.953, allocations: 4 kB / 1.164 GB, free: 2.469 MB / 0.698 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)