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.83/1.83, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.0009622/0.0009622, allocations: 184.5 kB / 372 MB, free: 10.27 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.829/1.829, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007161/0.0007157, allocations: 94.86 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003853, allocations: 15.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2413, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06294/0.3043, allocations: 69.4 MB / 1.047 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.3234, allocations: 11.85 MB / 1.059 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.3266, allocations: 55.62 kB / 1.059 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.3291, allocations: 0.5705 MB / 1.06 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007261/0.3364, allocations: 1.867 MB / 1.061 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.3401, allocations: 0.9871 MB / 1.062 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006983/0.3471, allocations: 4.758 MB / 1.067 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.3492, allocations: 1.005 MB / 1.068 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5899/0.9392, allocations: 1.255 MB / 1.069 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004751/0.944, allocations: 1.061 MB / 1.07 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.9447, allocations: 55.56 kB / 1.07 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006157/0.9509, allocations: 0.9248 MB / 1.071 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.9521, allocations: 271 kB / 1.071 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.954, allocations: 356.4 kB / 1.072 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008391/0.9624, allocations: 2.076 MB / 1.074 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.9625, allocations: 1.312 kB / 1.074 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9625, allocations: 0 / 1.074 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.127e-05/0.9626, allocations: 0 / 1.074 GB, free: 34.18 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.008269/0.9709, allocations: 1.799 MB / 1.076 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.335e-05/0.971, allocations: 11.39 kB / 1.076 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006968/0.9717, allocations: 146.3 kB / 1.076 GB, free: 33.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.9735, allocations: 240.8 kB / 1.076 GB, free: 33.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.978, allocations: 1.424 MB / 1.077 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.9781, allocations: 76.5 kB / 1.077 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.9783, allocations: 106.6 kB / 1.078 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.981, allocations: 1.117 MB / 1.079 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.9811, allocations: 1.469 kB / 1.079 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9812, allocations: 41.47 kB / 1.079 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.9813, allocations: 28.75 kB / 1.079 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.9838, allocations: 0.9214 MB / 1.08 GB, free: 32.57 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.00826/0.9921, allocations: 4.918 MB / 1.084 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.9937, allocations: 0.6409 MB / 1.085 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/0.9945, allocations: 367.5 kB / 1.085 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.995, allocations: 0.8267 MB / 1.086 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.9951, allocations: 45.97 kB / 1.086 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.397e-06/0.9951, allocations: 0 / 1.086 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.008067/1.003, allocations: 1.875 MB / 1.088 GB, free: 29.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/1.003, allocations: 57.5 kB / 1.088 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.005, allocations: 1.197 MB / 1.089 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.006, allocations: 39.09 kB / 1.089 GB, free: 28.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/1.006, allocations: 0.6001 MB / 1.09 GB, free: 28.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/1.006, allocations: 212.5 kB / 1.09 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/1.006, allocations: 13.75 kB / 1.09 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.611e-05/1.007, allocations: 332.4 kB / 1.09 GB, free: 28.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/1.007, allocations: 297.3 kB / 1.091 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/1.008, allocations: 0.5027 MB / 1.091 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/1.009, allocations: 357.9 kB / 1.092 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.009, allocations: 1.062 kB / 1.092 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005299/1.014, allocations: 1.4 MB / 1.093 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.014, allocations: 200.8 kB / 1.093 GB, free: 27.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.014, allocations: 3.531 kB / 1.093 GB, free: 27.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/1.015, allocations: 143.4 kB / 1.093 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/1.016, allocations: 169.5 kB / 1.093 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009349/1.017, allocations: 0.7032 MB / 1.094 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/1.019, allocations: 180.2 kB / 1.094 GB, free: 26.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.019, allocations: 35.23 kB / 1.094 GB, free: 26.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.019, allocations: 3.406 kB / 1.094 GB, free: 26.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00492/1.024, allocations: 1.247 MB / 1.096 GB, free: 26.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.024, allocations: 4.219 kB / 1.096 GB, free: 26.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/1.025, allocations: 140.2 kB / 1.096 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/1.026, allocations: 168.5 kB / 1.096 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000727/1.026, allocations: 0.7049 MB / 1.097 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/1.028, allocations: 166 kB / 1.097 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/1.028, allocations: 31.62 kB / 1.097 GB, free: 26.35 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.0008634/1.029, allocations: 423.3 kB / 1.097 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/1.029, allocations: 137.3 kB / 1.097 GB, free: 26.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/1.034, allocations: 1.397 MB / 1.099 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.034, allocations: 8.672 kB / 1.099 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.034, allocations: 2.078 kB / 1.099 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004591/1.039, allocations: 1.226 MB / 1.1 GB, free: 25.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008488/1.047, allocations: 2.737 MB / 1.103 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.047, allocations: 3.125 kB / 1.103 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/1.048, allocations: 122.8 kB / 1.103 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005631/1.048, allocations: 134.1 kB / 1.103 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/1.049, allocations: 31.09 kB / 1.103 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004445/1.053, allocations: 2.432 MB / 1.105 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.053, allocations: 3.344 kB / 1.105 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/1.059, allocations: 1.847 MB / 1.107 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.06, allocations: 336.1 kB / 1.107 GB, free: 23.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.06, allocations: 20.5 kB / 1.107 GB, free: 23.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/1.061, allocations: 89.77 kB / 1.107 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.061, allocations: 62.97 kB / 1.107 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/1.061, allocations: 27.92 kB / 1.107 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001405/1.063, allocations: 0.8531 MB / 1.108 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.063, allocations: 3.969 kB / 1.108 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002258/1.065, allocations: 0.7091 MB / 1.109 GB, free: 22.95 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.007495/1.072, allocations: 2.699 MB / 1.112 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004167/1.077, allocations: 1.16 MB / 1.113 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.998e-05/1.077, allocations: 1.531 kB / 1.113 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/1.078, allocations: 0.5992 MB / 1.113 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.083, allocations: 0.764 MB / 1.114 GB, free: 21.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.104, allocations: 8.316 MB / 1.122 GB, free: 18.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/1.105, allocations: 1.17 MB / 1.123 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001772/1.107, allocations: 306.5 kB / 1.124 GB, free: 18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/1.108, allocations: 0.5037 MB / 1.124 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/1.108, allocations: 0 / 1.124 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07111/1.179, allocations: 42.17 MB / 1.165 GB, free: 1.605 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.179, allocations: 253.9 kB / 1.166 GB, free: 1.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/4.46, allocations: 4 kB / 1.166 GB, free: 1.266 MB / 0.698 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)