Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.477/1.477, allocations: 288.4 MB / 303.6 MB, free: 8.113 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.000873/0.000873, allocations: 188.4 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.4 MB / 0.631 GB, free: 9.82 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.0006791/0.0006791, allocations: 98.73 kB / 0.7444 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 12.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04052/0.1775, allocations: 56.52 MB / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.1897, allocations: 11.14 MB / 1.046 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.1909, allocations: 51.62 kB / 1.046 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1922, allocations: 460.9 kB / 1.047 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.1955, allocations: 1.618 MB / 1.048 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.1975, allocations: 0.8766 MB / 1.049 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00347/0.201, allocations: 3.422 MB / 1.053 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.2022, allocations: 0.8864 MB / 1.053 GB, free: 28 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.2041, allocations: 1.097 MB / 1.054 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.2052, allocations: 0.8049 MB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.2054, allocations: 48 kB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2074, allocations: 1.278 MB / 1.057 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.2076, allocations: 199 kB / 1.057 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.2082, allocations: 0.6081 MB / 1.057 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.2098, allocations: 1.699 MB / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2098, allocations: 0 / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2098, allocations: 0 / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.2098, allocations: 0 / 1.059 GB, free: 10.27 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002378/0.2122, allocations: 1.502 MB / 1.06 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2123, allocations: 8.031 kB / 1.06 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.2124, allocations: 122.9 kB / 1.061 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.2143, allocations: 482.6 kB / 1.061 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.216, allocations: 1.128 MB / 1.062 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.2163, allocations: 129.9 kB / 1.062 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.2164, allocations: 80 kB / 1.062 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.2182, allocations: 0.9995 MB / 1.063 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2183, allocations: 3.938 kB / 1.063 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.2183, allocations: 32 kB / 1.063 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.2184, allocations: 19.98 kB / 1.063 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.2205, allocations: 0.9288 MB / 1.064 GB, free: 4.691 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.2863/0.5068, allocations: 4.605 MB / 1.069 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.5103, allocations: 0.9315 MB / 1.07 GB, free: 90.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.511, allocations: 336.4 kB / 1.07 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.5114, allocations: 0.9079 MB / 1.071 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.5115, allocations: 39.69 kB / 1.071 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.5115, allocations: 0 / 1.071 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.006768/0.5183, allocations: 1.997 MB / 1.073 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.5183, allocations: 59.69 kB / 1.073 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.5197, allocations: 1.054 MB / 1.074 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.5197, allocations: 33.67 kB / 1.074 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.52, allocations: 0.5275 MB / 1.075 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.5201, allocations: 164.1 kB / 1.075 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.5202, allocations: 13.47 kB / 1.075 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.5202, allocations: 327.9 kB / 1.075 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/0.5211, allocations: 331.5 kB / 1.075 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.5221, allocations: 0.5266 MB / 1.076 GB, free: 87.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.5237, allocations: 0.7304 MB / 1.077 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5237, allocations: 3.422 kB / 1.077 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003383/0.5271, allocations: 1.231 MB / 1.078 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.5271, allocations: 207.5 kB / 1.078 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5272, allocations: 3.531 kB / 1.078 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.5283, allocations: 330 kB / 1.078 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.5289, allocations: 138 kB / 1.078 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.5301, allocations: 0.9314 MB / 1.079 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.5313, allocations: 193.2 kB / 1.079 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.5314, allocations: 36.05 kB / 1.08 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.5314, allocations: 6.594 kB / 1.08 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003069/0.5345, allocations: 1.091 MB / 1.081 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5345, allocations: 3.812 kB / 1.081 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000995/0.5355, allocations: 321.6 kB / 1.081 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.536, allocations: 139.4 kB / 1.081 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.5372, allocations: 0.9446 MB / 1.082 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/0.5382, allocations: 168.3 kB / 1.082 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.5383, allocations: 33.5 kB / 1.082 GB, free: 84.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003863/0.5387, allocations: 349.7 kB / 1.082 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.5388, allocations: 111.3 kB / 1.083 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.5411, allocations: 1.035 MB / 1.084 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.5412, allocations: 6.5 kB / 1.084 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5412, allocations: 5.094 kB / 1.084 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5412, allocations: 6.75 kB / 1.084 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/0.5466, allocations: 2.463 MB / 1.086 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5466, allocations: 8.766 kB / 1.086 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.5469, allocations: 77.59 kB / 1.086 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009017/0.5478, allocations: 317.2 kB / 1.086 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.5479, allocations: 22.03 kB / 1.086 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.5491, allocations: 0.9668 MB / 1.087 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5491, allocations: 3.156 kB / 1.087 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.5524, allocations: 1.293 MB / 1.089 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.5527, allocations: 285.1 kB / 1.089 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5528, allocations: 14.23 kB / 1.089 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000808/0.5536, allocations: 114.3 kB / 1.089 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.5537, allocations: 45.09 kB / 1.089 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.5538, allocations: 24.67 kB / 1.089 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009394/0.5547, allocations: 0.7364 MB / 1.09 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.12e-07/0.5547, allocations: 0 / 1.09 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001145/0.5559, allocations: 0.5641 MB / 1.09 GB, free: 80.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003854/0.5597, allocations: 2.099 MB / 1.092 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.5626, allocations: 1.205 MB / 1.094 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5626, allocations: 3.516 kB / 1.094 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008446/0.5635, allocations: 389.3 kB / 1.094 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.5659, allocations: 0.5339 MB / 1.094 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.5789, allocations: 6.955 MB / 1.101 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.5793, allocations: 1.061 MB / 1.102 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008462/0.5802, allocations: 234.1 kB / 1.103 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.5806, allocations: 412.1 kB / 1.103 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.5806, allocations: 0 / 1.103 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9162/1.497, allocations: 34.59 MB / 1.137 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.497, allocations: 253.4 kB / 1.137 GB, free: 48.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/4.45, allocations: 0 / 1.137 GB, free: 48.46 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)