Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.391/1.391, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0008702/0.0008703, allocations: 190.3 kB / 372.3 MB, free: 10.13 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.107/1.107, allocations: 205.4 MB / 0.631 GB, free: 9.926 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.0006963/0.0006963, allocations: 94.3 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 12.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05094/0.1913, allocations: 69.42 MB / 1.048 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.2046, allocations: 11.84 MB / 1.06 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2057, allocations: 59.62 kB / 1.06 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.207, allocations: 0.5666 MB / 1.06 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.2107, allocations: 2.012 MB / 1.062 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.2128, allocations: 0.9872 MB / 1.063 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00391/0.2167, allocations: 4.792 MB / 1.068 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.218, allocations: 1.128 MB / 1.069 GB, free: 220 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2974/0.5154, allocations: 1.292 MB / 1.07 GB, free: 34.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.5167, allocations: 1.062 MB / 1.071 GB, free: 34.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.5168, allocations: 55 kB / 1.071 GB, free: 34.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.5191, allocations: 1.181 MB / 1.072 GB, free: 34.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.5193, allocations: 268.3 kB / 1.073 GB, free: 34.6 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.52, allocations: 0.7623 MB / 1.073 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.5223, allocations: 2.157 MB / 1.075 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5223, allocations: 1 kB / 1.075 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5223, allocations: 0 / 1.075 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.5224, allocations: 0 / 1.075 GB, free: 34.51 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.002801/0.5252, allocations: 1.779 MB / 1.077 GB, free: 33.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5252, allocations: 12.09 kB / 1.077 GB, free: 33.53 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.5254, allocations: 149.1 kB / 1.077 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/0.5261, allocations: 239.5 kB / 1.078 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.5281, allocations: 1.477 MB / 1.079 GB, free: 33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.5282, allocations: 76.44 kB / 1.079 GB, free: 33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.5283, allocations: 100.8 kB / 1.079 GB, free: 33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5303, allocations: 1.111 MB / 1.08 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.5303, allocations: 5.656 kB / 1.08 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.5304, allocations: 36.75 kB / 1.08 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.5304, allocations: 31.53 kB / 1.08 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.5323, allocations: 0.9189 MB / 1.081 GB, free: 32.85 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.004898/0.5372, allocations: 4.923 MB / 1.086 GB, free: 30.65 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5385, allocations: 0.6389 MB / 1.087 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.5391, allocations: 373.1 kB / 1.087 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.5395, allocations: 0.8289 MB / 1.088 GB, free: 29.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.5395, allocations: 45.5 kB / 1.088 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 1.863e-06/0.5395, allocations: 3.375 kB / 1.088 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.006503/0.546, allocations: 1.876 MB / 1.09 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.5461, allocations: 58.5 kB / 1.09 GB, free: 29.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.5474, allocations: 1.193 MB / 1.091 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.5475, allocations: 43.89 kB / 1.091 GB, free: 29.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.5479, allocations: 0.6031 MB / 1.092 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.548, allocations: 214.7 kB / 1.092 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.5481, allocations: 12.75 kB / 1.092 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.5481, allocations: 333.2 kB / 1.092 GB, free: 28.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.5487, allocations: 293.4 kB / 1.092 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007155/0.5494, allocations: 0.5001 MB / 1.093 GB, free: 28.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.5507, allocations: 0.74 MB / 1.094 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5507, allocations: 0 / 1.094 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004229/0.5549, allocations: 1.396 MB / 1.095 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.555, allocations: 196.5 kB / 1.095 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.555, allocations: 3 kB / 1.095 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/0.5555, allocations: 142.6 kB / 1.095 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.5561, allocations: 172.2 kB / 1.095 GB, free: 27.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006247/0.5567, allocations: 0.7076 MB / 1.096 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5578, allocations: 175.5 kB / 1.096 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.5579, allocations: 31.44 kB / 1.096 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.5579, allocations: 4.344 kB / 1.096 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004074/0.562, allocations: 1.249 MB / 1.098 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.562, allocations: 7.375 kB / 1.098 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004393/0.5624, allocations: 148.3 kB / 1.098 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.563, allocations: 163 kB / 1.098 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005951/0.5636, allocations: 0.7102 MB / 1.099 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008923/0.5645, allocations: 158 kB / 1.099 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.5646, allocations: 34.09 kB / 1.099 GB, free: 26.47 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.0004694/0.565, allocations: 423.5 kB / 1.099 GB, free: 26.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5652, allocations: 134.7 kB / 1.099 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.5696, allocations: 1.39 MB / 1.101 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.5696, allocations: 14.14 kB / 1.101 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5696, allocations: 0.7031 kB / 1.101 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003884/0.5735, allocations: 1.232 MB / 1.102 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.579, allocations: 2.735 MB / 1.105 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.579, allocations: 3.375 kB / 1.105 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.5794, allocations: 121.1 kB / 1.105 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/0.5798, allocations: 142.2 kB / 1.105 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.5799, allocations: 24.25 kB / 1.105 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003769/0.5836, allocations: 2.44 MB / 1.107 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5837, allocations: 6.469 kB / 1.107 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/0.5881, allocations: 1.847 MB / 1.109 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.5885, allocations: 333.5 kB / 1.109 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.5887, allocations: 16.98 kB / 1.109 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/0.5895, allocations: 104.4 kB / 1.109 GB, free: 23.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.5896, allocations: 61.3 kB / 1.109 GB, free: 23.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.5896, allocations: 30.52 kB / 1.11 GB, free: 23.26 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009179/0.5906, allocations: 0.8502 MB / 1.11 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5906, allocations: 5.5 kB / 1.11 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001584/0.5922, allocations: 0.7064 MB / 1.111 GB, free: 23.06 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.005559/0.5977, allocations: 2.72 MB / 1.114 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.6, allocations: 1.156 MB / 1.115 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6, allocations: 1.219 kB / 1.115 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.6013, allocations: 0.5969 MB / 1.115 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/0.6049, allocations: 0.7915 MB / 1.116 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.622, allocations: 8.31 MB / 1.124 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.6226, allocations: 1.178 MB / 1.125 GB, free: 17.99 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001136/0.6238, allocations: 305.8 kB / 1.126 GB, free: 17.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/0.6244, allocations: 0.5039 MB / 1.126 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/0.6244, allocations: 0 / 1.126 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.137/1.761, allocations: 45.03 MB / 1.17 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.761, allocations: 240.8 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/5.007, allocations: 3.938 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)