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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 195.1 kB / 16.53 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.281/1.281, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.632/1.632, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001315/0.001315, allocations: 67.98 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1736, allocations: 114.6 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01448/0.1881, allocations: 14.43 MB / 0.7976 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004515/0.1927, allocations: 3.624 MB / 0.8011 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.193, allocations: 19.94 kB / 0.8011 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.1935, allocations: 198.7 kB / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.1946, allocations: 0.5791 MB / 0.8019 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.1954, allocations: 393.7 kB / 0.8022 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.1964, allocations: 1.064 MB / 0.8033 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.1968, allocations: 319.8 kB / 0.8036 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.1976, allocations: 388.2 kB / 0.804 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.198, allocations: 314.6 kB / 0.8043 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.198, allocations: 32 kB / 0.8043 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.1985, allocations: 255.5 kB / 0.8045 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1987, allocations: 103.6 kB / 0.8046 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.1989, allocations: 207.1 kB / 0.8048 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.1995, allocations: 0.5842 MB / 0.8054 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1995, allocations: 0 / 0.8054 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1995, allocations: 0 / 0.8054 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1996, allocations: 0 / 0.8054 GB, free: 6.852 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.001055/0.2006, allocations: 0.7379 MB / 0.8061 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2007, allocations: 12.03 kB / 0.8061 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.2007, allocations: 66.72 kB / 0.8062 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.2009, allocations: 44.47 kB / 0.8062 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.2015, allocations: 431 kB / 0.8067 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2015, allocations: 24.69 kB / 0.8067 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.2016, allocations: 32 kB / 0.8067 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.2021, allocations: 306.2 kB / 0.807 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2021, allocations: 3.938 kB / 0.807 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.2022, allocations: 12 kB / 0.807 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.2022, allocations: 11.94 kB / 0.807 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.2027, allocations: 194.1 kB / 0.8072 GB, free: 4.879 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.001607/0.2043, allocations: 1.493 MB / 0.8087 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.2047, allocations: 154.6 kB / 0.8088 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2049, allocations: 65.08 kB / 0.8089 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.205, allocations: 93.03 kB / 0.809 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.2053, allocations: 131.3 kB / 0.8091 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.502e-06/0.2053, allocations: 0 / 0.8091 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0005983/0.2059, allocations: 229.1 kB / 0.8093 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.206, allocations: 63.34 kB / 0.8094 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.2063, allocations: 345.6 kB / 0.8097 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2064, allocations: 29.7 kB / 0.8097 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.2065, allocations: 219.7 kB / 0.8099 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.2066, allocations: 51.3 kB / 0.81 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.2067, allocations: 53.61 kB / 0.81 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2068, allocations: 346.8 kB / 0.8104 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.207, allocations: 71.95 kB / 0.8104 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.2072, allocations: 149.4 kB / 0.8106 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.2076, allocations: 235 kB / 0.8108 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2076, allocations: 0 / 0.8108 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005658/0.2082, allocations: 317 kB / 0.8111 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.2083, allocations: 33.7 kB / 0.8111 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2083, allocations: 7.938 kB / 0.8111 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2083, allocations: 11.94 kB / 0.8112 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2085, allocations: 60.22 kB / 0.8112 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2085, allocations: 4 kB / 0.8112 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2088, allocations: 31.77 kB / 0.8112 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2088, allocations: 23.86 kB / 0.8113 GB, free: 412 kB / 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.0001499/0.209, allocations: 149.8 kB / 0.8114 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.209, allocations: 35.56 kB / 0.8114 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.2095, allocations: 192.5 kB / 0.8116 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2095, allocations: 7.938 kB / 0.8116 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2095, allocations: 0 / 0.8116 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004795/0.21, allocations: 486.8 kB / 0.8121 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.2104, allocations: 353.3 kB / 0.8124 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2104, allocations: 0 / 0.8124 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2106, allocations: 39.91 kB / 0.8125 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2106, allocations: 0 / 0.8125 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2106, allocations: 8 kB / 0.8125 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2106, allocations: 3.938 kB / 0.8125 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2106, allocations: 0 / 0.8125 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.2112, allocations: 280.6 kB / 0.8128 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2113, allocations: 120.7 kB / 0.8129 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.2114, allocations: 4 kB / 0.8129 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.2116, allocations: 23.86 kB / 0.8129 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.2117, allocations: 19.97 kB / 0.8129 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.2117, allocations: 4 kB / 0.8129 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002215/0.2119, allocations: 247.2 kB / 0.8132 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.212, allocations: 0 / 0.8132 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003864/0.2123, allocations: 127.8 kB / 0.8133 GB, free: 14.15 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.0009765/0.2133, allocations: 0.9166 MB / 0.8142 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.2138, allocations: 234.1 kB / 0.8144 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2138, allocations: 4.062 kB / 0.8144 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.214, allocations: 75.83 kB / 0.8145 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009145/0.2149, allocations: 218.5 kB / 0.8147 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.2186, allocations: 3.039 MB / 0.8177 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2189, allocations: 0.784 MB / 0.8184 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.2192, allocations: 67.2 kB / 0.8185 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2193, allocations: 115.4 kB / 0.8186 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.2194, allocations: 0 / 0.8186 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.519/0.7383, allocations: 10.08 MB / 0.8284 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/9.079, allocations: 12.06 kB / 0.8284 GB, free: 14.61 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)