Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001838/0.001838, allocations: 107.8 kB / 16.45 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.002139/0.002139, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002288/0.002288, allocations: 279.6 kB / 303 MB, free: 3.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 180.9 MB / 0.5261 GB, free: 2.746 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 95.84 kB / 0.7247 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5212, allocations: 94.16 MB / 0.8167 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01375/0.535, allocations: 14.52 MB / 0.8309 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.5407, allocations: 3.66 MB / 0.8345 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.5412, allocations: 16.25 kB / 0.8345 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000724/0.542, allocations: 215.3 kB / 0.8347 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.5437, allocations: 0.6128 MB / 0.8353 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5448, allocations: 398.9 kB / 0.8357 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.5463, allocations: 1.098 MB / 0.8367 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.5467, allocations: 271.9 kB / 0.837 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009283/0.5476, allocations: 407.9 kB / 0.8374 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.548, allocations: 321.4 kB / 0.8377 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.548, allocations: 31.38 kB / 0.8377 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.5486, allocations: 267.2 kB / 0.838 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.5487, allocations: 99.7 kB / 0.8381 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.5489, allocations: 212.3 kB / 0.8383 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.5499, allocations: 0.5927 MB / 0.8388 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.5499, allocations: 4 kB / 0.8388 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5499, allocations: 0 / 0.8388 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.5499, allocations: 0 / 0.8388 GB, free: 7.977 MB / 0.5919 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.001254/0.5511, allocations: 0.7586 MB / 0.8396 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5512, allocations: 14.69 kB / 0.8396 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/0.5513, allocations: 60.05 kB / 0.8397 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.5514, allocations: 48.5 kB / 0.8397 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.5523, allocations: 468.2 kB / 0.8401 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.5523, allocations: 27.69 kB / 0.8402 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.5523, allocations: 26.92 kB / 0.8402 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.5529, allocations: 309.3 kB / 0.8405 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5529, allocations: 1.312 kB / 0.8405 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.553, allocations: 11.09 kB / 0.8405 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.553, allocations: 6.156 kB / 0.8405 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.5534, allocations: 200 kB / 0.8407 GB, free: 6.688 MB / 0.5919 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.002009/0.5554, allocations: 1.478 MB / 0.8421 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.5559, allocations: 147.2 kB / 0.8423 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.5561, allocations: 66.56 kB / 0.8424 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.5562, allocations: 85.5 kB / 0.8424 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.5565, allocations: 130.1 kB / 0.8426 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 4.028e-06/0.5565, allocations: 4.641 kB / 0.8426 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006866/0.5572, allocations: 237.8 kB / 0.8428 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.5573, allocations: 58.53 kB / 0.8428 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.5578, allocations: 343.4 kB / 0.8432 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.5578, allocations: 32.56 kB / 0.8432 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.558, allocations: 224.8 kB / 0.8434 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.649e-05/0.5581, allocations: 58.92 kB / 0.8435 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.5582, allocations: 58 kB / 0.8435 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5584, allocations: 348.6 kB / 0.8439 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5586, allocations: 73.89 kB / 0.8439 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.5588, allocations: 144.3 kB / 0.8441 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.5593, allocations: 240.6 kB / 0.8443 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5593, allocations: 1.062 kB / 0.8443 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006364/0.5599, allocations: 313.7 kB / 0.8446 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.5599, allocations: 33.59 kB / 0.8446 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.56, allocations: 2.75 kB / 0.8446 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.56, allocations: 7.875 kB / 0.8446 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.5602, allocations: 63.58 kB / 0.8447 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.5602, allocations: 4.281 kB / 0.8447 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.5605, allocations: 32.33 kB / 0.8447 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.5605, allocations: 9.75 kB / 0.8447 GB, free: 3.715 MB / 0.5919 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.0001902/0.5607, allocations: 160.8 kB / 0.8449 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.5608, allocations: 35.98 kB / 0.8449 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.5613, allocations: 195.4 kB / 0.8451 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.5613, allocations: 5.344 kB / 0.8451 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5614, allocations: 0.5625 kB / 0.8451 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006019/0.562, allocations: 490.3 kB / 0.8456 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.5625, allocations: 353.8 kB / 0.8459 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5625, allocations: 0.5 kB / 0.8459 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.5627, allocations: 33.08 kB / 0.846 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5627, allocations: 9.516 kB / 0.846 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5627, allocations: 2.125 kB / 0.846 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.5627, allocations: 6 kB / 0.846 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5627, allocations: 0 / 0.846 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.5634, allocations: 284.1 kB / 0.8462 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.5636, allocations: 125.9 kB / 0.8464 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.5637, allocations: 10.56 kB / 0.8464 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.5639, allocations: 16.86 kB / 0.8464 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.5639, allocations: 17 kB / 0.8464 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.564, allocations: 15.45 kB / 0.8464 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002802/0.5643, allocations: 247.2 kB / 0.8467 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5643, allocations: 0 / 0.8467 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004456/0.5647, allocations: 124.7 kB / 0.8468 GB, free: 2.273 MB / 0.5919 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.001146/0.5658, allocations: 0.9045 MB / 0.8477 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.5663, allocations: 229.8 kB / 0.8479 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5663, allocations: 1.125 kB / 0.8479 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.5665, allocations: 69.06 kB / 0.848 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/0.5674, allocations: 235.7 kB / 0.8482 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.5719, allocations: 3.055 MB / 0.8512 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5724, allocations: 0.7906 MB / 0.8519 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003729/0.5728, allocations: 60.86 kB / 0.852 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.573, allocations: 118.5 kB / 0.8521 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.573, allocations: 0 / 0.8521 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.6123, allocations: 10.26 MB / 0.8621 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.988, allocations: 11.78 kB / 0.8621 GB, free: 10.59 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.765117430128157] Failed to read output from testmodel.py, exit status != 0: 9.0595001289621 9.074413514 8.521378041 Calling exit ...