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.001353/0.001353, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001615/0.001615, allocations: 217.5 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.00277/0.00277, allocations: 285.9 kB / 313.5 MB, free: 2.605 MB / 238.1 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 1.264/1.264, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002951/0.002951, allocations: 101.7 kB / 0.7407 GB, free: 27.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1888, allocations: 95.39 MB / 0.8339 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01966/0.2085, allocations: 13.47 MB / 0.847 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005884/0.2143, allocations: 3.387 MB / 0.8503 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.215, allocations: 23.81 kB / 0.8503 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.2158, allocations: 202.7 kB / 0.8505 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.2177, allocations: 0.6219 MB / 0.8511 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2188, allocations: 399.2 kB / 0.8515 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.2206, allocations: 1.11 MB / 0.8526 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.2211, allocations: 260.9 kB / 0.8529 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.2224, allocations: 412.5 kB / 0.8532 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.223, allocations: 302.6 kB / 0.8535 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.042e-05/0.2231, allocations: 32 kB / 0.8536 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.2238, allocations: 223.5 kB / 0.8538 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.2239, allocations: 99.56 kB / 0.8539 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.2242, allocations: 175.2 kB / 0.854 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.2253, allocations: 0.6033 MB / 0.8546 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2254, allocations: 3.938 kB / 0.8546 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2254, allocations: 0 / 0.8546 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.2254, allocations: 4 kB / 0.8546 GB, free: 2.457 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.001469/0.2268, allocations: 0.6893 MB / 0.8553 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2269, allocations: 13.34 kB / 0.8553 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.2271, allocations: 48.69 kB / 0.8554 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008208/0.2279, allocations: 412.6 kB / 0.8558 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.228, allocations: 16.88 kB / 0.8558 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/0.228, allocations: 31.94 kB / 0.8558 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.2287, allocations: 420 kB / 0.8562 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2287, allocations: 0 / 0.8562 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.2288, allocations: 19.97 kB / 0.8562 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.2288, allocations: 12 kB / 0.8562 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.2293, allocations: 193.8 kB / 0.8564 GB, free: 0.5195 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.001729/0.231, allocations: 1.081 MB / 0.8575 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.2314, allocations: 158.5 kB / 0.8576 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.2316, allocations: 64.81 kB / 0.8577 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.2317, allocations: 8 kB / 0.8577 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.2321, allocations: 230.1 kB / 0.8579 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.2321, allocations: 0 / 0.8579 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006399/0.2327, allocations: 235.8 kB / 0.8581 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.2328, allocations: 59.39 kB / 0.8582 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.2332, allocations: 328.4 kB / 0.8585 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.2332, allocations: 33.7 kB / 0.8585 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.2334, allocations: 224.3 kB / 0.8588 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.2334, allocations: 55.53 kB / 0.8588 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.2335, allocations: 57.66 kB / 0.8589 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2337, allocations: 338.8 kB / 0.8592 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.2339, allocations: 101.7 kB / 0.8593 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.2342, allocations: 172.8 kB / 0.8595 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.2346, allocations: 257.1 kB / 0.8597 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2346, allocations: 0 / 0.8597 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006345/0.2353, allocations: 336.6 kB / 0.86 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.2353, allocations: 33.69 kB / 0.8601 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2353, allocations: 4 kB / 0.8601 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2353, allocations: 4 kB / 0.8601 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2355, allocations: 55.91 kB / 0.8601 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2356, allocations: 11.88 kB / 0.8601 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.2358, allocations: 40.11 kB / 0.8602 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.2358, allocations: 8 kB / 0.8602 GB, free: 12.42 MB / 0.6075 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.0001971/0.236, allocations: 166.3 kB / 0.8603 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.2361, allocations: 31.81 kB / 0.8604 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.2366, allocations: 184.5 kB / 0.8605 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2366, allocations: 4 kB / 0.8605 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2366, allocations: 3.938 kB / 0.8605 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005559/0.2371, allocations: 498.4 kB / 0.861 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.2375, allocations: 245.1 kB / 0.8613 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2375, allocations: 4 kB / 0.8613 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2377, allocations: 23.98 kB / 0.8613 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2377, allocations: 4 kB / 0.8613 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2377, allocations: 4 kB / 0.8613 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.2377, allocations: 3.984 kB / 0.8613 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2377, allocations: 4 kB / 0.8613 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.2384, allocations: 292.6 kB / 0.8616 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.2385, allocations: 47.86 kB / 0.8616 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.2385, allocations: 7.984 kB / 0.8616 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2388, allocations: 19.97 kB / 0.8616 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.2388, allocations: 15.97 kB / 0.8617 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.2389, allocations: 11.94 kB / 0.8617 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002668/0.2391, allocations: 231 kB / 0.8619 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2391, allocations: 0 / 0.8619 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004623/0.2396, allocations: 131.7 kB / 0.862 GB, free: 10.38 MB / 0.6075 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.0003519/0.2399, allocations: 184.2 kB / 0.8622 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.2405, allocations: 251.2 kB / 0.8624 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.2405, allocations: 7.984 kB / 0.8624 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.2407, allocations: 56.59 kB / 0.8625 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.2415, allocations: 196.4 kB / 0.8627 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.2431, allocations: 0.7721 MB / 0.8634 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2432, allocations: 185 kB / 0.8636 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2433, allocations: 39.42 kB / 0.8637 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2433, allocations: 0 / 0.8637 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.01003/0.2534, allocations: 6.102 MB / 0.8696 GB, free: 2.59 MB / 0.6075 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: 9.413903343025595] Failed to read output from testmodel.py, exit status != 0: 0.2612408772110939 0.276380019 0.047845402 Calling exit ...