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.0009856/0.0009856, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001021/0.001021, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.22/1.22, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.637/1.637, allocations: 292.3 MB / 0.5486 GB, free: 13.55 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.001407/0.001407, allocations: 69.2 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1767, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01454/0.1913, allocations: 14.39 MB / 0.797 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004449/0.1958, allocations: 3.578 MB / 0.8005 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.1962, allocations: 15.88 kB / 0.8005 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.1969, allocations: 183.1 kB / 0.8007 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1982, allocations: 0.5401 MB / 0.8012 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008318/0.199, allocations: 354 kB / 0.8016 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.2003, allocations: 1.083 MB / 0.8026 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.2007, allocations: 319.8 kB / 0.8029 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009206/0.2017, allocations: 382.5 kB / 0.8033 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.2021, allocations: 318.6 kB / 0.8036 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.2022, allocations: 32 kB / 0.8036 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.2027, allocations: 263.4 kB / 0.8039 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2028, allocations: 95.66 kB / 0.804 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.203, allocations: 214.9 kB / 0.8042 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.2037, allocations: 0.5843 MB / 0.8047 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2037, allocations: 3.938 kB / 0.8047 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.446e-06/0.2037, allocations: 0 / 0.8047 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2037, allocations: 3.938 kB / 0.8048 GB, free: 7.398 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.001096/0.2048, allocations: 0.7379 MB / 0.8055 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2049, allocations: 8.031 kB / 0.8055 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.205, allocations: 66.72 kB / 0.8055 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.2051, allocations: 48.47 kB / 0.8056 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.2058, allocations: 463.2 kB / 0.806 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2058, allocations: 24.5 kB / 0.8061 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.2059, allocations: 28 kB / 0.8061 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.2064, allocations: 310.2 kB / 0.8064 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2065, allocations: 8 kB / 0.8064 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.2065, allocations: 8 kB / 0.8064 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2065, allocations: 8 kB / 0.8064 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.207, allocations: 190.1 kB / 0.8066 GB, free: 5.402 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.001621/0.2086, allocations: 1.493 MB / 0.808 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.209, allocations: 154.6 kB / 0.8082 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.2092, allocations: 64.83 kB / 0.8082 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.2093, allocations: 89.09 kB / 0.8083 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.2096, allocations: 131.2 kB / 0.8085 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.532e-06/0.2096, allocations: 0 / 0.8085 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0005857/0.2102, allocations: 236 kB / 0.8087 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2103, allocations: 59.34 kB / 0.8087 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.2106, allocations: 325.7 kB / 0.809 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2106, allocations: 33.7 kB / 0.8091 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2108, allocations: 215.7 kB / 0.8093 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.2108, allocations: 51.3 kB / 0.8093 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.2109, allocations: 65.59 kB / 0.8094 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.211, allocations: 338.8 kB / 0.8097 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.2112, allocations: 71.95 kB / 0.8098 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.2115, allocations: 149.3 kB / 0.8099 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.2118, allocations: 239 kB / 0.8102 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2119, allocations: 4 kB / 0.8102 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005552/0.2124, allocations: 317.3 kB / 0.8105 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.2125, allocations: 37.69 kB / 0.8105 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2125, allocations: 0 / 0.8105 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2125, allocations: 7.938 kB / 0.8105 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2127, allocations: 59.91 kB / 0.8106 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2127, allocations: 4.312 kB / 0.8106 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.213, allocations: 39.67 kB / 0.8106 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.213, allocations: 12 kB / 0.8106 GB, free: 0.9453 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.0001414/0.2132, allocations: 157.8 kB / 0.8108 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.2132, allocations: 31.62 kB / 0.8108 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.2137, allocations: 200.3 kB / 0.811 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2137, allocations: 4 kB / 0.811 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2137, allocations: 3.938 kB / 0.811 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004513/0.2142, allocations: 483.8 kB / 0.8115 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.2146, allocations: 345.3 kB / 0.8118 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2146, allocations: 0 / 0.8118 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.2147, allocations: 31.97 kB / 0.8118 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2148, allocations: 3.938 kB / 0.8118 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.2148, allocations: 15.94 kB / 0.8118 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2148, allocations: 4 kB / 0.8118 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2148, allocations: 0 / 0.8118 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.2154, allocations: 285.2 kB / 0.8121 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2155, allocations: 120.8 kB / 0.8122 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.2156, allocations: 4.031 kB / 0.8122 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.2158, allocations: 31.88 kB / 0.8123 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.2159, allocations: 19.97 kB / 0.8123 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.2159, allocations: 4 kB / 0.8123 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002115/0.2161, allocations: 235.2 kB / 0.8125 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2161, allocations: 0 / 0.8125 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000392/0.2165, allocations: 124 kB / 0.8126 GB, free: 14.7 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.001003/0.2175, allocations: 0.8931 MB / 0.8135 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.218, allocations: 242.4 kB / 0.8137 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.218, allocations: 4.562 kB / 0.8137 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2182, allocations: 75.89 kB / 0.8138 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.2191, allocations: 202.3 kB / 0.814 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.223, allocations: 3.118 MB / 0.817 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2234, allocations: 0.7918 MB / 0.8178 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002657/0.2236, allocations: 67.12 kB / 0.8179 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.2238, allocations: 119.3 kB / 0.818 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.2238, allocations: 0 / 0.818 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.497/4.721, allocations: 9.657 MB / 0.8274 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/4.721, allocations: 196.7 kB / 0.8276 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/6.869, allocations: 0.875 kB / 0.8276 GB, free: 15.32 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)