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.0009094/0.0009095, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004678/0.004679, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.315/1.315, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.574/1.574, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004694/0.0004695, allocations: 15.34 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1757, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01346/0.1892, allocations: 13.89 MB / 0.8016 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1937, allocations: 3.594 MB / 0.8051 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.1941, allocations: 15.88 kB / 0.8051 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.1946, allocations: 167.1 kB / 0.8052 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.1957, allocations: 0.5444 MB / 0.8058 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.1964, allocations: 350 kB / 0.8061 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1977, allocations: 1.45 MB / 0.8075 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.1981, allocations: 263.6 kB / 0.8078 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1984, allocations: 306.6 kB / 0.8081 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.1988, allocations: 306.6 kB / 0.8084 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.1988, allocations: 16 kB / 0.8084 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.1992, allocations: 239.4 kB / 0.8086 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.1993, allocations: 71.67 kB / 0.8087 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1995, allocations: 216.6 kB / 0.8089 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.2, allocations: 0.5646 MB / 0.8094 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2001, allocations: 0 / 0.8094 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2001, allocations: 0 / 0.8094 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2001, allocations: 0 / 0.8094 GB, free: 5.441 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.0009118/0.201, allocations: 0.6679 MB / 0.8101 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.201, allocations: 8.031 kB / 0.8101 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.2011, allocations: 62.72 kB / 0.8101 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.2012, allocations: 44.47 kB / 0.8102 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.2019, allocations: 475.2 kB / 0.8106 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2019, allocations: 24.5 kB / 0.8107 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.202, allocations: 24 kB / 0.8107 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.2025, allocations: 318.2 kB / 0.811 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2025, allocations: 4 kB / 0.811 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.2026, allocations: 11.98 kB / 0.811 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.2026, allocations: 8 kB / 0.811 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.203, allocations: 210 kB / 0.8112 GB, free: 3.488 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.001582/0.2046, allocations: 1.489 MB / 0.8127 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.2051, allocations: 170.6 kB / 0.8128 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.2052, allocations: 68.83 kB / 0.8129 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.2054, allocations: 89.09 kB / 0.813 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.2057, allocations: 146.2 kB / 0.8131 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2057, allocations: 0 / 0.8131 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0005899/0.2063, allocations: 241.1 kB / 0.8133 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.2063, allocations: 63.34 kB / 0.8134 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.2067, allocations: 333.6 kB / 0.8137 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2067, allocations: 29.7 kB / 0.8138 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2068, allocations: 215.8 kB / 0.814 GB, free: 476 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.2069, allocations: 55.23 kB / 0.814 GB, free: 420 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.2069, allocations: 29.7 kB / 0.814 GB, free: 384 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2071, allocations: 342.8 kB / 0.8144 GB, free: 32 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.2073, allocations: 75.95 kB / 0.8144 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.2075, allocations: 153.4 kB / 0.8146 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.2079, allocations: 249.2 kB / 0.8148 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2079, allocations: 0 / 0.8148 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005878/0.2085, allocations: 326.6 kB / 0.8151 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.2086, allocations: 41.95 kB / 0.8152 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2086, allocations: 4 kB / 0.8152 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2086, allocations: 7.938 kB / 0.8152 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2088, allocations: 59.89 kB / 0.8152 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2088, allocations: 4 kB / 0.8152 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.2091, allocations: 43.67 kB / 0.8153 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2092, allocations: 15.98 kB / 0.8153 GB, free: 14.98 MB / 0.6387 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.0001413/0.2093, allocations: 157.8 kB / 0.8155 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.2094, allocations: 31.62 kB / 0.8155 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/0.2098, allocations: 212.3 kB / 0.8157 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2098, allocations: 4 kB / 0.8157 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2098, allocations: 0 / 0.8157 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004818/0.2103, allocations: 490 kB / 0.8162 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.2107, allocations: 353.3 kB / 0.8165 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2107, allocations: 4 kB / 0.8165 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2109, allocations: 43.86 kB / 0.8165 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2109, allocations: 3.984 kB / 0.8165 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.211, allocations: 7.938 kB / 0.8166 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.211, allocations: 0 / 0.8166 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.211, allocations: 0 / 0.8166 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.2116, allocations: 296.6 kB / 0.8168 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2117, allocations: 128.7 kB / 0.817 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.2117, allocations: 3.938 kB / 0.817 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.212, allocations: 31.97 kB / 0.817 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.212, allocations: 15.92 kB / 0.817 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.2121, allocations: 11.98 kB / 0.817 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002202/0.2123, allocations: 235.2 kB / 0.8172 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2123, allocations: 0 / 0.8172 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000379/0.2127, allocations: 119.9 kB / 0.8174 GB, free: 12.68 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.001025/0.2137, allocations: 0.916 MB / 0.8183 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.2142, allocations: 251 kB / 0.8185 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2142, allocations: 0 / 0.8185 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.2144, allocations: 72.58 kB / 0.8186 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.2154, allocations: 196.3 kB / 0.8187 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.2194, allocations: 3.215 MB / 0.8219 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2197, allocations: 0.7957 MB / 0.8227 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002423/0.2199, allocations: 59.25 kB / 0.8227 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2201, allocations: 111.4 kB / 0.8228 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of SimCode: time 2.535e-06/0.2201, allocations: 0 / 0.8228 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.193/1.413, allocations: 9.307 MB / 0.8319 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.413, allocations: 193.9 kB / 0.8321 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.505, allocations: 4 kB / 0.8321 GB, free: 13.54 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)