Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",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.696/1.696, allocations: 288.2 MB / 303.2 MB, free: 8.07 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.001061/0.001061, allocations: 182 kB / 371.8 MB, free: 10.26 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.513/1.513, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009972/0.0009972, allocations: 98.86 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005056, allocations: 10.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009523/0.2357, allocations: 12.13 MB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003814/0.2396, allocations: 3.133 MB / 0.9944 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.24, allocations: 15.88 kB / 0.9944 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.2406, allocations: 207 kB / 0.9946 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.2418, allocations: 0.5648 MB / 0.9951 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2429, allocations: 472.1 kB / 0.9956 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006879/0.2436, allocations: 0.6439 MB / 0.9962 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.2439, allocations: 238 kB / 0.9964 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.2443, allocations: 271 kB / 0.9967 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2445, allocations: 199.1 kB / 0.9969 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.2445, allocations: 12 kB / 0.9969 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.2449, allocations: 167.8 kB / 0.9971 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.245, allocations: 67.69 kB / 0.9971 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.2451, allocations: 97.52 kB / 0.9972 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.2455, allocations: 427 kB / 0.9976 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2455, allocations: 0 / 0.9976 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2455, allocations: 3.938 kB / 0.9976 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.2455, allocations: 0 / 0.9976 GB, free: 8.938 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009462/0.2465, allocations: 0.6639 MB / 0.9983 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2465, allocations: 12.02 kB / 0.9983 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.355e-05/0.2466, allocations: 66.53 kB / 0.9984 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.2467, allocations: 43.53 kB / 0.9984 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.2473, allocations: 422 kB / 0.9988 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.2473, allocations: 24.52 kB / 0.9988 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.2474, allocations: 27.98 kB / 0.9989 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.2479, allocations: 306.2 kB / 0.9991 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2479, allocations: 4 kB / 0.9991 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.2479, allocations: 12 kB / 0.9992 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.248, allocations: 11.98 kB / 0.9992 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.2484, allocations: 202.1 kB / 0.9994 GB, free: 7.043 MB / 0.6198 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.00145/0.2499, allocations: 1.508 MB / 1.001 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.2503, allocations: 162.6 kB / 1.001 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.2505, allocations: 85.09 kB / 1.001 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.2508, allocations: 141.3 kB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.2508, allocations: 0 / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005644/0.2513, allocations: 241.2 kB / 1.001 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2514, allocations: 59.41 kB / 1.001 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.2517, allocations: 357.5 kB / 1.002 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2517, allocations: 29.7 kB / 1.002 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2518, allocations: 211.8 kB / 1.002 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.2518, allocations: 59.28 kB / 1.002 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.2519, allocations: 4 kB / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.2519, allocations: 350.7 kB / 1.002 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.2522, allocations: 75.95 kB / 1.003 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.2524, allocations: 153.8 kB / 1.003 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.2526, allocations: 114.5 kB / 1.003 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2526, allocations: 0 / 1.003 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004956/0.2531, allocations: 324.2 kB / 1.003 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.2531, allocations: 41.69 kB / 1.003 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2532, allocations: 0 / 1.003 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2532, allocations: 4 kB / 1.003 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.2534, allocations: 64.22 kB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2534, allocations: 4 kB / 1.003 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.2537, allocations: 39.67 kB / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2537, allocations: 8 kB / 1.003 GB, free: 2.789 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.2538, allocations: 165.7 kB / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.2539, allocations: 35.62 kB / 1.003 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.2543, allocations: 205 kB / 1.004 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2543, allocations: 4 kB / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2543, allocations: 0 / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003618/0.2547, allocations: 496.5 kB / 1.004 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.255, allocations: 361.2 kB / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.255, allocations: 0 / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2552, allocations: 35.92 kB / 1.004 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2552, allocations: 0 / 1.004 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2552, allocations: 15.98 kB / 1.005 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2552, allocations: 0 / 1.005 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2553, allocations: 0 / 1.005 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.2558, allocations: 300.5 kB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2559, allocations: 132.7 kB / 1.005 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.256, allocations: 7.984 kB / 1.005 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.2562, allocations: 19.98 kB / 1.005 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.2563, allocations: 15.97 kB / 1.005 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2563, allocations: 12 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001911/0.2565, allocations: 255.2 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2565, allocations: 7.875 kB / 1.005 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003874/0.2569, allocations: 123.9 kB / 1.005 GB, free: 472 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.2579, allocations: 0.9167 MB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.2584, allocations: 241.4 kB / 1.006 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2584, allocations: 0 / 1.006 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2586, allocations: 71.95 kB / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/0.2595, allocations: 201.3 kB / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.2634, allocations: 3.663 MB / 1.01 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.2638, allocations: 0.7959 MB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.2641, allocations: 67.19 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.2643, allocations: 119.4 kB / 1.011 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.2643, allocations: 0 / 1.011 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.2881, allocations: 10.01 MB / 1.021 GB, free: 448 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.2883, allocations: 188.8 kB / 1.021 GB, free: 200 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.531, allocations: 0 / 1.021 GB, free: 200 kB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)