Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 199.3 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 68.47 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1738, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01299/0.1868, allocations: 14.4 MB / 0.7969 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.191, allocations: 3.64 MB / 0.8004 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.1912, allocations: 15.88 kB / 0.8004 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.1917, allocations: 171 kB / 0.8006 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0009433/0.1927, allocations: 0.5483 MB / 0.8011 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.1934, allocations: 342.8 kB / 0.8014 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.1946, allocations: 1.45 MB / 0.8029 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.1949, allocations: 267.6 kB / 0.8031 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.1953, allocations: 322.6 kB / 0.8034 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.1956, allocations: 310.6 kB / 0.8037 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1956, allocations: 16 kB / 0.8037 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.1961, allocations: 247.4 kB / 0.804 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.1962, allocations: 71.73 kB / 0.804 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1963, allocations: 198.9 kB / 0.8042 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.1969, allocations: 0.5725 MB / 0.8048 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1969, allocations: 0 / 0.8048 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.72e-07/0.197, allocations: 0 / 0.8048 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.197, allocations: 4 kB / 0.8048 GB, free: 7.297 MB / 0.6231 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.001009/0.198, allocations: 0.7457 MB / 0.8055 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.198, allocations: 8.031 kB / 0.8055 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.1981, allocations: 58.73 kB / 0.8056 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1982, allocations: 52.45 kB / 0.8056 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.1989, allocations: 467.2 kB / 0.8061 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1989, allocations: 28.44 kB / 0.8061 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.199, allocations: 31.98 kB / 0.8061 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.1995, allocations: 302.2 kB / 0.8064 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1995, allocations: 0 / 0.8064 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.1995, allocations: 16 kB / 0.8064 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1996, allocations: 8 kB / 0.8065 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.2, allocations: 194 kB / 0.8066 GB, free: 5.289 MB / 0.6231 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.001566/0.2016, allocations: 1.485 MB / 0.8081 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.202, allocations: 150.6 kB / 0.8082 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.2022, allocations: 80.75 kB / 0.8083 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.2023, allocations: 85.11 kB / 0.8084 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.2026, allocations: 134.3 kB / 0.8085 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2026, allocations: 0 / 0.8085 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0005909/0.2032, allocations: 229.2 kB / 0.8087 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2033, allocations: 63.33 kB / 0.8088 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.2036, allocations: 329.7 kB / 0.8091 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2036, allocations: 29.7 kB / 0.8091 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2037, allocations: 219.7 kB / 0.8093 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.2038, allocations: 51.3 kB / 0.8094 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/0.2039, allocations: 57.61 kB / 0.8095 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.204, allocations: 346.7 kB / 0.8098 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2042, allocations: 75.95 kB / 0.8099 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2044, allocations: 137.4 kB / 0.81 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.2048, allocations: 239 kB / 0.8102 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2048, allocations: 0 / 0.8102 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005581/0.2054, allocations: 321.3 kB / 0.8105 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.2054, allocations: 37.7 kB / 0.8106 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2054, allocations: 0 / 0.8106 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2054, allocations: 7.938 kB / 0.8106 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2057, allocations: 59.89 kB / 0.8106 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2057, allocations: 4 kB / 0.8106 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.2059, allocations: 39.86 kB / 0.8107 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.206, allocations: 12 kB / 0.8107 GB, free: 0.8398 MB / 0.6231 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.2061, allocations: 157.8 kB / 0.8108 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.2062, allocations: 31.62 kB / 0.8109 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.2066, allocations: 196.3 kB / 0.811 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2066, allocations: 4 kB / 0.811 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2067, allocations: 4 kB / 0.811 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004587/0.2071, allocations: 482.4 kB / 0.8115 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.2075, allocations: 353.3 kB / 0.8118 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2075, allocations: 0 / 0.8118 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2077, allocations: 39.86 kB / 0.8119 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2077, allocations: 3.984 kB / 0.8119 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.2077, allocations: 11.88 kB / 0.8119 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2077, allocations: 0 / 0.8119 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2077, allocations: 4 kB / 0.8119 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.2083, allocations: 280.6 kB / 0.8122 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2084, allocations: 120.7 kB / 0.8123 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.2085, allocations: 7.938 kB / 0.8123 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2087, allocations: 23.89 kB / 0.8123 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.2088, allocations: 15.97 kB / 0.8123 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2088, allocations: 12 kB / 0.8123 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002115/0.209, allocations: 239.1 kB / 0.8126 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.209, allocations: 0 / 0.8126 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003584/0.2094, allocations: 120 kB / 0.8127 GB, free: 14.59 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009823/0.2104, allocations: 0.8932 MB / 0.8136 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.2108, allocations: 237.3 kB / 0.8138 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2109, allocations: 0 / 0.8138 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.211, allocations: 59.97 kB / 0.8138 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/0.2119, allocations: 200.8 kB / 0.814 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.2157, allocations: 3.126 MB / 0.8171 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.216, allocations: 0.7918 MB / 0.8179 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.2162, allocations: 71.17 kB / 0.8179 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2164, allocations: 111.4 kB / 0.818 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.2164, allocations: 4 kB / 0.818 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.038/2.254, allocations: 9.394 MB / 0.8272 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/2.255, allocations: 195.3 kB / 0.8274 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/5.043, allocations: 0 / 0.8274 GB, free: 15.46 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)