Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.447/1.447, allocations: 287.4 MB / 302.6 MB, free: 8.297 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.0008703/0.0008702, allocations: 167 kB / 371.1 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 1.125/1.125, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0006521/0.0006521, allocations: 90.28 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 15.95 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.03888/0.1788, allocations: 56.52 MB / 1.034 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1912, allocations: 11.13 MB / 1.045 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008354/0.192, allocations: 51.62 kB / 1.045 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.1931, allocations: 456.9 kB / 1.045 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.196, allocations: 1.52 MB / 1.047 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.1979, allocations: 0.8776 MB / 1.048 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002873/0.2007, allocations: 3.429 MB / 1.051 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009595/0.2017, allocations: 0.8786 MB / 1.052 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.2031, allocations: 1.042 MB / 1.053 GB, free: 4 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008276/0.2039, allocations: 0.8088 MB / 1.054 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.204, allocations: 44 kB / 1.054 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.2057, allocations: 1.099 MB / 1.055 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.2059, allocations: 207 kB / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.2061, allocations: 285 kB / 1.055 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.2076, allocations: 1.641 MB / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2076, allocations: 0 / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2076, allocations: 0 / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.2076, allocations: 3.938 kB / 1.057 GB, free: 11.91 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.00217/0.2098, allocations: 1.501 MB / 1.058 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2098, allocations: 8.031 kB / 1.058 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.2099, allocations: 122.9 kB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.2118, allocations: 478.6 kB / 1.059 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.2135, allocations: 1.132 MB / 1.06 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/0.2138, allocations: 133.9 kB / 1.06 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.214, allocations: 80 kB / 1.06 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.2157, allocations: 1.003 MB / 1.061 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2157, allocations: 0 / 1.061 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.2158, allocations: 32 kB / 1.061 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2158, allocations: 16 kB / 1.061 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.2179, allocations: 0.925 MB / 1.062 GB, free: 6.336 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.00523/0.2232, allocations: 4.614 MB / 1.067 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.2263, allocations: 0.9343 MB / 1.068 GB, free: 476 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.2271, allocations: 338 kB / 1.068 GB, free: 136 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2794/0.5065, allocations: 0.8993 MB / 1.069 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5065, allocations: 40.52 kB / 1.069 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.544e-06/0.5065, allocations: 0 / 1.069 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.007045/0.5136, allocations: 1.994 MB / 1.071 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.5136, allocations: 57.48 kB / 1.071 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.515, allocations: 1.052 MB / 1.072 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.515, allocations: 39.27 kB / 1.072 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.5153, allocations: 0.5253 MB / 1.072 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/0.5154, allocations: 161.5 kB / 1.073 GB, free: 89.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.5155, allocations: 14.12 kB / 1.073 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.5155, allocations: 332.3 kB / 1.073 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.5163, allocations: 332.8 kB / 1.073 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009407/0.5173, allocations: 0.5264 MB / 1.074 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.5188, allocations: 0.7279 MB / 1.074 GB, free: 88.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5188, allocations: 0.9688 kB / 1.074 GB, free: 88.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003169/0.522, allocations: 1.233 MB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.522, allocations: 200.4 kB / 1.076 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5221, allocations: 4.469 kB / 1.076 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.5232, allocations: 327 kB / 1.076 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.5237, allocations: 138.3 kB / 1.076 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.5249, allocations: 0.9377 MB / 1.077 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.526, allocations: 200.4 kB / 1.077 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.5261, allocations: 29.78 kB / 1.077 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.5261, allocations: 3.875 kB / 1.077 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002947/0.5291, allocations: 1.09 MB / 1.078 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5291, allocations: 3.625 kB / 1.078 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009437/0.53, allocations: 324.5 kB / 1.079 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.5306, allocations: 133.2 kB / 1.079 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.5317, allocations: 0.9362 MB / 1.08 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/0.5326, allocations: 171.4 kB / 1.08 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.5327, allocations: 29.33 kB / 1.08 GB, free: 85.69 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.0003237/0.533, allocations: 348.1 kB / 1.08 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5331, allocations: 112.9 kB / 1.08 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.5354, allocations: 1.042 MB / 1.081 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5355, allocations: 10.77 kB / 1.081 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5355, allocations: 2.406 kB / 1.081 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.5355, allocations: 3.422 kB / 1.081 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/0.541, allocations: 2.467 MB / 1.084 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.541, allocations: 7.625 kB / 1.084 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.5413, allocations: 74.91 kB / 1.084 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008917/0.5422, allocations: 321.5 kB / 1.084 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.5422, allocations: 21.64 kB / 1.084 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.5434, allocations: 0.9687 MB / 1.085 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5434, allocations: 2.438 kB / 1.085 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.5466, allocations: 1.294 MB / 1.086 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.547, allocations: 284.8 kB / 1.087 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5471, allocations: 14.22 kB / 1.087 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000808/0.5479, allocations: 113.5 kB / 1.087 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.548, allocations: 45.64 kB / 1.087 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.5481, allocations: 24.09 kB / 1.087 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009839/0.5491, allocations: 0.7368 MB / 1.088 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5491, allocations: 0 / 1.088 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0012/0.5503, allocations: 0.5603 MB / 1.088 GB, free: 81.94 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.004011/0.5543, allocations: 2.096 MB / 1.09 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.5572, allocations: 1.204 MB / 1.091 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5572, allocations: 1 kB / 1.091 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.558, allocations: 392.4 kB / 1.092 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.5605, allocations: 0.5203 MB / 1.092 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.5741, allocations: 6.946 MB / 1.099 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.5746, allocations: 1.066 MB / 1.1 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009442/0.5756, allocations: 225.3 kB / 1.1 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.576, allocations: 414.2 kB / 1.101 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/0.576, allocations: 0 / 1.101 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.1/1.676, allocations: 34.27 MB / 1.134 GB, free: 51.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.677, allocations: 246.1 kB / 1.134 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/4.648, allocations: 0 / 1.134 GB, free: 51.43 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)