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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008152/0.0008152, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8768/0.8768, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001421/0.001421, allocations: 234 kB / 260.2 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6574/0.6574, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.453e-06/1.453e-06, allocations: 0 / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.477e-05, allocations: 8.953 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.2399/0.2399, allocations: 13.38 MB / 0.6606 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.2428, allocations: 3.398 MB / 0.6639 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.2431, allocations: 33.59 kB / 0.6639 GB, free: 47.03 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.2436, allocations: 196.6 kB / 0.6641 GB, free: 46.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008217/0.2444, allocations: 0.639 MB / 0.6647 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2449, allocations: 416.9 kB / 0.6651 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008354/0.2457, allocations: 1.108 MB / 0.6662 GB, free: 45.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.246, allocations: 249.3 kB / 0.6664 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007953/0.2468, allocations: 0.5161 MB / 0.6669 GB, free: 45.45 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.2471, allocations: 277 kB / 0.6672 GB, free: 45.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.2471, allocations: 32.34 kB / 0.6672 GB, free: 45.36 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2474, allocations: 225.8 kB / 0.6675 GB, free: 45.28 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.2475, allocations: 102.8 kB / 0.6676 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2477, allocations: 149.8 kB / 0.6677 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.2483, allocations: 0.6083 MB / 0.6683 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2483, allocations: 4 kB / 0.6683 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2483, allocations: 6.188 kB / 0.6683 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.2483, allocations: 0 / 0.6683 GB, free: 44.93 MB / 0.5573 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.0007625/0.249, allocations: 0.6815 MB / 0.669 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2491, allocations: 11.64 kB / 0.669 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.2492, allocations: 52.22 kB / 0.669 GB, free: 44.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.2497, allocations: 404.6 kB / 0.6694 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2497, allocations: 25.23 kB / 0.6694 GB, free: 44.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.2498, allocations: 30.06 kB / 0.6695 GB, free: 44.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2501, allocations: 413.6 kB / 0.6699 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2502, allocations: 2.25 kB / 0.6699 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2502, allocations: 9.875 kB / 0.6699 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.2502, allocations: 15.36 kB / 0.6699 GB, free: 43.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.2505, allocations: 194.1 kB / 0.6701 GB, free: 43.74 MB / 0.5573 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.0008992/0.2514, allocations: 1.091 MB / 0.6711 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.2516, allocations: 149.7 kB / 0.6713 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.2517, allocations: 68.03 kB / 0.6713 GB, free: 42.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.436e-05/0.2518, allocations: 7.625 kB / 0.6714 GB, free: 42.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.252, allocations: 226.1 kB / 0.6716 GB, free: 42.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.252, allocations: 2.062 kB / 0.6716 GB, free: 42.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0003473/0.2523, allocations: 235.2 kB / 0.6718 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.2523, allocations: 61.08 kB / 0.6719 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2525, allocations: 333.6 kB / 0.6722 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2525, allocations: 31.61 kB / 0.6722 GB, free: 42.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.2526, allocations: 221 kB / 0.6724 GB, free: 42.08 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.2527, allocations: 53.22 kB / 0.6725 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.2527, allocations: 51.97 kB / 0.6725 GB, free: 42.01 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.2528, allocations: 342.8 kB / 0.6728 GB, free: 41.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2529, allocations: 98.02 kB / 0.6729 GB, free: 41.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.253, allocations: 181.8 kB / 0.6731 GB, free: 41.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2532, allocations: 249.4 kB / 0.6733 GB, free: 41.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2532, allocations: 0 / 0.6733 GB, free: 41.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003264/0.2535, allocations: 344.6 kB / 0.6737 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.2535, allocations: 33.27 kB / 0.6737 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2535, allocations: 3.906 kB / 0.6737 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2536, allocations: 2.75 kB / 0.6737 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2537, allocations: 63.64 kB / 0.6738 GB, free: 41.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2537, allocations: 5.828 kB / 0.6738 GB, free: 41.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.2538, allocations: 33.67 kB / 0.6738 GB, free: 41.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.2538, allocations: 12.02 kB / 0.6738 GB, free: 41.05 MB / 0.5573 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 9.11e-05/0.2539, allocations: 166.4 kB / 0.674 GB, free: 40.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.254, allocations: 30.5 kB / 0.674 GB, free: 40.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.2542, allocations: 197.3 kB / 0.6742 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2542, allocations: 6.031 kB / 0.6742 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2542, allocations: 0 / 0.6742 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002019/0.2544, allocations: 485.3 kB / 0.6747 GB, free: 40.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2546, allocations: 254.5 kB / 0.6749 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2546, allocations: 0 / 0.6749 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.2547, allocations: 29.69 kB / 0.6749 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2547, allocations: 0 / 0.6749 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2547, allocations: 6.031 kB / 0.6749 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2547, allocations: 10.25 kB / 0.675 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2547, allocations: 0 / 0.675 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.255, allocations: 285.6 kB / 0.6752 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.2551, allocations: 46.97 kB / 0.6753 GB, free: 39.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.2551, allocations: 5.906 kB / 0.6753 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.2552, allocations: 18.86 kB / 0.6753 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2553, allocations: 11.42 kB / 0.6753 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2553, allocations: 17.34 kB / 0.6753 GB, free: 39.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00013/0.2554, allocations: 226.7 kB / 0.6755 GB, free: 39.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2554, allocations: 0 / 0.6755 GB, free: 39.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002735/0.2557, allocations: 130.6 kB / 0.6757 GB, free: 39.8 MB / 0.5573 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.0002148/0.2559, allocations: 193 kB / 0.6758 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.2562, allocations: 247.7 kB / 0.6761 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2562, allocations: 4.188 kB / 0.6761 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.2563, allocations: 69.2 kB / 0.6762 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.2568, allocations: 205.8 kB / 0.6763 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.2575, allocations: 0.6793 MB / 0.677 GB, free: 39.04 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.2576, allocations: 183.3 kB / 0.6772 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.2577, allocations: 32.05 kB / 0.6772 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of SimCode: time 6.12e-07/0.2577, allocations: 3.938 kB / 0.6772 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of Templates: time 0.006628/0.2643, allocations: 6.15 MB / 0.6832 GB, free: 38.23 MB / 0.5573 GB " [Timeout remaining time 660] 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: 6.140455394983292] Failed to read output from testmodel.py, exit status != 0: 0.269645769149065 0.27801445899999994 0.027949574 Calling exit ...