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.00137/0.00137, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001557/0.001557, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.777/1.777, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0006368/0.000637, allocations: 18.12 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3364, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01883/0.3553, allocations: 12.12 MB / 0.7991 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006983/0.3623, allocations: 3.136 MB / 0.8021 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.3631, allocations: 11.94 kB / 0.8021 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009586/0.3641, allocations: 214.9 kB / 0.8023 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.3666, allocations: 0.557 MB / 0.8029 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.3688, allocations: 465 kB / 0.8033 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.3705, allocations: 0.6477 MB / 0.804 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.3711, allocations: 238.1 kB / 0.8042 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.3717, allocations: 271 kB / 0.8044 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.3721, allocations: 195.1 kB / 0.8046 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.3722, allocations: 12 kB / 0.8046 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.373, allocations: 175.7 kB / 0.8048 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3732, allocations: 67.72 kB / 0.8049 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3733, allocations: 101.5 kB / 0.805 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.3741, allocations: 414.9 kB / 0.8054 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3741, allocations: 0 / 0.8054 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3741, allocations: 0 / 0.8054 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.3741, allocations: 4 kB / 0.8054 GB, free: 9.266 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.001546/0.3757, allocations: 0.6756 MB / 0.806 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.3758, allocations: 8.031 kB / 0.806 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.3759, allocations: 62.53 kB / 0.8061 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.3762, allocations: 43.53 kB / 0.8061 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.3771, allocations: 430 kB / 0.8066 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.3771, allocations: 24.52 kB / 0.8066 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/0.3772, allocations: 24 kB / 0.8066 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.3781, allocations: 310.2 kB / 0.8069 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.3781, allocations: 3.984 kB / 0.8069 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.3782, allocations: 12 kB / 0.8069 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.3782, allocations: 8 kB / 0.8069 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.379, allocations: 206.1 kB / 0.8071 GB, free: 7.355 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.002819/0.3818, allocations: 1.497 MB / 0.8086 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.3825, allocations: 166 kB / 0.8087 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.3828, allocations: 93.09 kB / 0.8088 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004257/0.3832, allocations: 131.3 kB / 0.8089 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.815e-06/0.3832, allocations: 0 / 0.8089 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0009713/0.3842, allocations: 249.1 kB / 0.8092 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3843, allocations: 59.41 kB / 0.8092 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/0.3849, allocations: 353.5 kB / 0.8096 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.385, allocations: 33.7 kB / 0.8096 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.3852, allocations: 215.8 kB / 0.8098 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.3853, allocations: 55.3 kB / 0.8099 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.3853, allocations: 4 kB / 0.8099 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3855, allocations: 346.8 kB / 0.8102 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3857, allocations: 75.89 kB / 0.8103 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.386, allocations: 153.4 kB / 0.8104 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.3862, allocations: 120.2 kB / 0.8105 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3862, allocations: 0 / 0.8105 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006522/0.3869, allocations: 322.6 kB / 0.8108 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.387, allocations: 33.69 kB / 0.8109 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.387, allocations: 4.312 kB / 0.8109 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.387, allocations: 8 kB / 0.8109 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3873, allocations: 59.91 kB / 0.8109 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.3873, allocations: 7.938 kB / 0.811 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.3876, allocations: 43.67 kB / 0.811 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3877, allocations: 11.98 kB / 0.811 GB, free: 3.102 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.3879, allocations: 161.7 kB / 0.8112 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.3879, allocations: 31.62 kB / 0.8112 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.3884, allocations: 203.7 kB / 0.8114 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3885, allocations: 7.938 kB / 0.8114 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3885, allocations: 8 kB / 0.8114 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005693/0.389, allocations: 491.8 kB / 0.8119 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.3896, allocations: 357.2 kB / 0.8122 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3896, allocations: 0 / 0.8122 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3898, allocations: 43.97 kB / 0.8123 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3898, allocations: 0 / 0.8123 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3898, allocations: 0 / 0.8123 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3898, allocations: 4 kB / 0.8123 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3898, allocations: 0 / 0.8123 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.3905, allocations: 307.2 kB / 0.8125 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.3907, allocations: 128.8 kB / 0.8127 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.3907, allocations: 8 kB / 0.8127 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.391, allocations: 19.97 kB / 0.8127 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.3911, allocations: 19.97 kB / 0.8127 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.3911, allocations: 11.98 kB / 0.8127 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002771/0.3914, allocations: 255.2 kB / 0.813 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.475e-06/0.3914, allocations: 0 / 0.813 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005163/0.3919, allocations: 127.9 kB / 0.8131 GB, free: 0.7734 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.3931, allocations: 0.9304 MB / 0.814 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.3936, allocations: 231.2 kB / 0.8142 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3936, allocations: 0 / 0.8142 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.3938, allocations: 80.52 kB / 0.8143 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.3948, allocations: 188.5 kB / 0.8145 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.3992, allocations: 3.664 MB / 0.8181 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3996, allocations: 0.7959 MB / 0.8188 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.3999, allocations: 67.23 kB / 0.8189 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.4001, allocations: 123.3 kB / 0.819 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of SimCode: time 1.212e-06/0.4001, allocations: 4 kB / 0.819 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.4296, allocations: 9.992 MB / 0.8288 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.4299, allocations: 177.6 kB / 0.8289 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.722, allocations: 5.188 kB / 0.829 GB, free: 0.5469 MB / 0.6387 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/linux/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) Environment - environmentSimulation: