Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 105.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002137/0.002138, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 245.1 MB, free: 4.352 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.822/2.822, allocations: 437.1 MB / 0.7171 GB, free: 4.582 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 71.89 kB / 1.027 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.412, allocations: 151.6 MB / 1.175 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02267/0.4348, allocations: 14.44 MB / 1.189 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007604/0.4425, allocations: 3.639 MB / 1.192 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.4436, allocations: 19.88 kB / 1.192 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.4447, allocations: 210.7 kB / 1.193 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.4471, allocations: 0.5907 MB / 1.193 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.4487, allocations: 394.7 kB / 1.194 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.451, allocations: 1.091 MB / 1.195 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009438/0.452, allocations: 316.5 kB / 1.195 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.4537, allocations: 386.7 kB / 1.195 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007745/0.4545, allocations: 306.7 kB / 1.196 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.4546, allocations: 32 kB / 1.196 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4557, allocations: 259.5 kB / 1.196 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.4559, allocations: 99.66 kB / 1.196 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.4563, allocations: 211 kB / 1.196 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.4577, allocations: 0.5916 MB / 1.197 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4577, allocations: 8 kB / 1.197 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4578, allocations: 0 / 1.197 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4578, allocations: 0 / 1.197 GB, free: 15.92 MB / 0.9512 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.001675/0.4595, allocations: 0.753 MB / 1.197 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.369e-05/0.4595, allocations: 8.031 kB / 1.197 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.87e-05/0.4597, allocations: 62.72 kB / 1.198 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.4599, allocations: 52.66 kB / 1.198 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.4609, allocations: 467.9 kB / 1.198 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.461, allocations: 32.67 kB / 1.198 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.461, allocations: 24 kB / 1.198 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.4618, allocations: 310.2 kB / 1.198 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.4618, allocations: 3.938 kB / 1.198 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.4618, allocations: 12 kB / 1.198 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.4619, allocations: 15.98 kB / 1.198 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.4624, allocations: 190.1 kB / 1.199 GB, free: 13.89 MB / 0.9512 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.002488/0.4649, allocations: 1.474 MB / 1.2 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.4654, allocations: 162.5 kB / 1.2 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.4657, allocations: 76.81 kB / 1.2 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.4658, allocations: 85.09 kB / 1.2 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.4662, allocations: 127.3 kB / 1.2 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 3.597e-06/0.4662, allocations: 0 / 1.2 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007728/0.467, allocations: 241.2 kB / 1.201 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.4671, allocations: 55.39 kB / 1.201 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.4676, allocations: 353.6 kB / 1.201 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.4677, allocations: 29.7 kB / 1.201 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.4679, allocations: 216.1 kB / 1.201 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.468, allocations: 55.53 kB / 1.201 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.4681, allocations: 61.66 kB / 1.201 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4683, allocations: 338.8 kB / 1.202 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.4685, allocations: 71.95 kB / 1.202 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.4688, allocations: 150.3 kB / 1.202 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.4693, allocations: 241.2 kB / 1.202 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4694, allocations: 0 / 1.202 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007533/0.4701, allocations: 321.4 kB / 1.202 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.4702, allocations: 33.7 kB / 1.203 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4702, allocations: 0 / 1.203 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.4702, allocations: 7.938 kB / 1.203 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.4705, allocations: 55.91 kB / 1.203 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.4705, allocations: 4 kB / 1.203 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.4708, allocations: 36.14 kB / 1.203 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4709, allocations: 15.98 kB / 1.203 GB, free: 9.43 MB / 0.9512 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.000266/0.4712, allocations: 157.7 kB / 1.203 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.4712, allocations: 35.77 kB / 1.203 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005945/0.4718, allocations: 197.3 kB / 1.203 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4719, allocations: 7.938 kB / 1.203 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4719, allocations: 7.938 kB / 1.203 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005962/0.4725, allocations: 481.9 kB / 1.203 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.4731, allocations: 353.4 kB / 1.204 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4732, allocations: 3.938 kB / 1.204 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.4733, allocations: 31.97 kB / 1.204 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4734, allocations: 0 / 1.204 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.4734, allocations: 8 kB / 1.204 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.4734, allocations: 3.938 kB / 1.204 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4734, allocations: 7.938 kB / 1.204 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.4742, allocations: 284.7 kB / 1.204 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.4744, allocations: 120.9 kB / 1.204 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.4745, allocations: 96 / 1.204 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.4747, allocations: 19.92 kB / 1.204 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.4748, allocations: 31.95 kB / 1.204 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.4748, allocations: 4 kB / 1.204 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003509/0.4752, allocations: 247.2 kB / 1.205 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4752, allocations: 0 / 1.205 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006037/0.4758, allocations: 131.6 kB / 1.205 GB, free: 7.156 MB / 0.9512 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.00149/0.4773, allocations: 0.9159 MB / 1.206 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.478, allocations: 223.1 kB / 1.206 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.478, allocations: 0 / 1.206 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.4782, allocations: 76.52 kB / 1.206 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4794, allocations: 205.8 kB / 1.206 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.4848, allocations: 3.077 MB / 1.209 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.4853, allocations: 0.7879 MB / 1.21 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.4857, allocations: 79.11 kB / 1.21 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.486, allocations: 115.4 kB / 1.21 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of SimCode: time 1.072e-06/0.486, allocations: 0 / 1.21 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/0.5285, allocations: 10.2 MB / 1.22 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.362/9.891, allocations: 3.859 kB / 1.22 GB, free: 7.484 MB / 0.9669 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.94189926283434] Failed to read output from testmodel.py, exit status != 0: 9.96798044606112 9.984066125 9.523250259 Calling exit ...