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.001264/0.001264, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001306/0.001306, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.431/1.431, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.002419/0.002419, allocations: 285.1 kB / 303.6 MB, free: 3.695 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.034/1.034, allocations: 180.9 MB / 0.5268 GB, free: 2.684 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: translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 100.2 kB / 0.7259 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5329, allocations: 94.16 MB / 0.8178 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01366/0.5466, allocations: 14.54 MB / 0.832 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00563/0.5522, allocations: 3.663 MB / 0.8356 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005763/0.5528, allocations: 15.69 kB / 0.8356 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.5535, allocations: 214.5 kB / 0.8358 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.5551, allocations: 0.6098 MB / 0.8364 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.5562, allocations: 390.8 kB / 0.8368 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.5576, allocations: 1.097 MB / 0.8379 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.558, allocations: 268.4 kB / 0.8381 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009961/0.559, allocations: 396.5 kB / 0.8385 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.5595, allocations: 326.1 kB / 0.8388 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.5595, allocations: 35.59 kB / 0.8388 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006417/0.5602, allocations: 262.5 kB / 0.8391 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.5603, allocations: 96.58 kB / 0.8392 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.5605, allocations: 216 kB / 0.8394 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008972/0.5614, allocations: 0.5926 MB / 0.84 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5614, allocations: 1.25 kB / 0.84 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5614, allocations: 0 / 0.84 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5614, allocations: 0 / 0.84 GB, free: 8.281 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.001229/0.5627, allocations: 0.7633 MB / 0.8407 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5627, allocations: 11.91 kB / 0.8407 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.5629, allocations: 52.66 kB / 0.8408 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.5636, allocations: 463.8 kB / 0.8412 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.5636, allocations: 21.62 kB / 0.8412 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.5637, allocations: 29.61 kB / 0.8413 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.5642, allocations: 312.3 kB / 0.8416 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5643, allocations: 0.75 kB / 0.8416 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.5643, allocations: 10.75 kB / 0.8416 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.5643, allocations: 9.25 kB / 0.8416 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.5648, allocations: 188.8 kB / 0.8418 GB, free: 7.051 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.002031/0.5668, allocations: 1.495 MB / 0.8432 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.5673, allocations: 148.9 kB / 0.8434 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.5675, allocations: 61.52 kB / 0.8434 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.5676, allocations: 90.25 kB / 0.8435 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.5679, allocations: 136.7 kB / 0.8436 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.5679, allocations: 0 / 0.8436 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006831/0.5686, allocations: 232 kB / 0.8439 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.5687, allocations: 58.77 kB / 0.8439 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.5691, allocations: 351.6 kB / 0.8443 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.5691, allocations: 31.8 kB / 0.8443 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.5693, allocations: 224.8 kB / 0.8445 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.5694, allocations: 51.38 kB / 0.8446 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.5695, allocations: 54.2 kB / 0.8446 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5697, allocations: 340.4 kB / 0.8449 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.5699, allocations: 73.48 kB / 0.845 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.5702, allocations: 152.1 kB / 0.8451 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.5706, allocations: 248.2 kB / 0.8454 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5706, allocations: 1.062 kB / 0.8454 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007098/0.5713, allocations: 310.4 kB / 0.8457 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.5714, allocations: 37.47 kB / 0.8457 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5714, allocations: 2.781 kB / 0.8457 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.5714, allocations: 4.516 kB / 0.8457 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.5717, allocations: 63.16 kB / 0.8458 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5717, allocations: 4.188 kB / 0.8458 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.572, allocations: 32.12 kB / 0.8458 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.572, allocations: 13.58 kB / 0.8458 GB, free: 4.062 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.0001927/0.5722, allocations: 160.7 kB / 0.846 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.5723, allocations: 36.55 kB / 0.846 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.5728, allocations: 196.6 kB / 0.8462 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.5728, allocations: 5.719 kB / 0.8462 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5728, allocations: 0.5312 kB / 0.8462 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006048/0.5734, allocations: 483.1 kB / 0.8467 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.574, allocations: 350.2 kB / 0.847 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.574, allocations: 5.281 kB / 0.847 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.5742, allocations: 32.75 kB / 0.847 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5742, allocations: 1.156 kB / 0.847 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.5742, allocations: 6.828 kB / 0.8471 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5742, allocations: 8.375 kB / 0.8471 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5742, allocations: 0.625 kB / 0.8471 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.5748, allocations: 288.4 kB / 0.8473 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.575, allocations: 122.7 kB / 0.8475 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.575, allocations: 2.406 kB / 0.8475 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.5753, allocations: 21.59 kB / 0.8475 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.5753, allocations: 24.22 kB / 0.8475 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.5754, allocations: 8.625 kB / 0.8475 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003042/0.5757, allocations: 245.6 kB / 0.8477 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5757, allocations: 4 kB / 0.8477 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004696/0.5761, allocations: 128.5 kB / 0.8479 GB, free: 2.621 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.0003883/0.5765, allocations: 203.9 kB / 0.8481 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.5771, allocations: 215.9 kB / 0.8483 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5771, allocations: 128 / 0.8483 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.5772, allocations: 68.83 kB / 0.8483 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/0.5782, allocations: 206.7 kB / 0.8485 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.5796, allocations: 0.7775 MB / 0.8493 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.5801, allocations: 0.7882 MB / 0.8501 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5802, allocations: 38.98 kB / 0.8501 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.5802, allocations: 0 / 0.8501 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of Templates: time 0.01082/0.591, allocations: 6.205 MB / 0.8562 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.446311614941806] Failed to read output from testmodel.py, exit status != 0: 0.5994972479529679 0.611756176 0.047473955000000005 Calling exit ...