Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_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.002126/0.002126, 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.0026/0.0026, allocations: 189.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.553/2.553, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.411/5.411, allocations: 461.9 MB / 0.7344 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 63.05 kB / 0.8987 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.548, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02684/0.5749, allocations: 14.39 MB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008948/0.5839, allocations: 3.604 MB / 1.07 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008348/0.5848, allocations: 19.88 kB / 1.07 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.586, allocations: 175.1 kB / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.5885, allocations: 0.5444 MB / 1.071 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.5901, allocations: 362.9 kB / 1.071 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.5923, allocations: 1.102 MB / 1.072 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007/0.593, allocations: 313.6 kB / 1.072 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.5946, allocations: 390.3 kB / 1.073 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.5952, allocations: 318.6 kB / 1.073 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.5953, allocations: 32 kB / 1.073 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009349/0.5963, allocations: 263.4 kB / 1.073 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.5965, allocations: 95.61 kB / 1.073 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.5968, allocations: 211 kB / 1.074 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.598, allocations: 0.5919 MB / 1.074 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.598, allocations: 0 / 1.074 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.815e-06/0.598, allocations: 0 / 1.074 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.5981, allocations: 4 kB / 1.074 GB, free: 2.254 MB / 0.8262 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.001809/0.5999, allocations: 0.7473 MB / 1.075 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.6, allocations: 12.62 kB / 1.075 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.6001, allocations: 70.66 kB / 1.075 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.6004, allocations: 44.47 kB / 1.075 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.6016, allocations: 475.8 kB / 1.076 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.6017, allocations: 24.5 kB / 1.076 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.6018, allocations: 28 kB / 1.076 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.6028, allocations: 306.2 kB / 1.076 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.6028, allocations: 7.891 kB / 1.076 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.6029, allocations: 16 kB / 1.076 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.6029, allocations: 8 kB / 1.076 GB, free: 420 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.6038, allocations: 194.1 kB / 1.076 GB, free: 228 kB / 0.8262 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.003021/0.6068, allocations: 1.47 MB / 1.078 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/0.6076, allocations: 161.8 kB / 1.078 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.608, allocations: 64.83 kB / 1.078 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.6082, allocations: 93.08 kB / 1.078 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.6087, allocations: 119.3 kB / 1.078 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 6.412e-06/0.6087, allocations: 0 / 1.078 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.001128/0.6099, allocations: 246.9 kB / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.6099, allocations: 59.41 kB / 1.078 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.6106, allocations: 333.6 kB / 1.079 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.6106, allocations: 37.69 kB / 1.079 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.6109, allocations: 211.8 kB / 1.079 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.611, allocations: 59.19 kB / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.6112, allocations: 53.7 kB / 1.079 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.6114, allocations: 338.8 kB / 1.079 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.6117, allocations: 75.94 kB / 1.079 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.6122, allocations: 141.9 kB / 1.079 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.6129, allocations: 244.6 kB / 1.08 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6129, allocations: 0 / 1.08 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001083/0.614, allocations: 314.8 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.6141, allocations: 33.7 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6141, allocations: 3.938 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.6142, allocations: 7.938 kB / 1.08 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.6146, allocations: 55.97 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.6146, allocations: 7.938 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.6152, allocations: 35.92 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.6152, allocations: 23.91 kB / 1.08 GB, free: 11.78 MB / 0.8419 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.0002814/0.6155, allocations: 157.7 kB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.6157, allocations: 31.62 kB / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.6165, allocations: 192.5 kB / 1.081 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6165, allocations: 0 / 1.081 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6165, allocations: 4 kB / 1.081 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008342/0.6173, allocations: 494.4 kB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.6181, allocations: 349.3 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6181, allocations: 4 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.6185, allocations: 31.98 kB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.6185, allocations: 4 kB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.6185, allocations: 7.922 kB / 1.081 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6185, allocations: 0 / 1.081 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6186, allocations: 4 kB / 1.081 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.6196, allocations: 284.5 kB / 1.082 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.6199, allocations: 124.7 kB / 1.082 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.62, allocations: 11.94 kB / 1.082 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.6204, allocations: 19.97 kB / 1.082 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.6206, allocations: 15.98 kB / 1.082 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.6206, allocations: 7.984 kB / 1.082 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004511/0.6211, allocations: 239.2 kB / 1.082 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6211, allocations: 0 / 1.082 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008335/0.6219, allocations: 123.9 kB / 1.082 GB, free: 9.531 MB / 0.8419 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.002031/0.624, allocations: 0.8977 MB / 1.083 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009468/0.6249, allocations: 239 kB / 1.083 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.625, allocations: 8 kB / 1.083 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.6253, allocations: 63.91 kB / 1.083 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/0.6303, allocations: 215.7 kB / 1.084 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/0.6389, allocations: 3.134 MB / 1.087 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.6396, allocations: 0.7918 MB / 1.087 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006249/0.6402, allocations: 63.23 kB / 1.087 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.6406, allocations: 119.4 kB / 1.088 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of SimCode: time 1.102e-06/0.6406, allocations: 0 / 1.088 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.192/1.833, allocations: 9.717 MB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003771/1.834, allocations: 215.2 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/9.797, allocations: 1.406 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)