Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.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.001841/0.001841, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002097/0.002097, allocations: 169.9 kB / 22.45 MB, free: 2.105 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 1.715/1.715, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.09959/0.09959, allocations: 12.74 MB / 271.9 MB, free: 500 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 403.1 MB, free: 8.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.844e-05, allocations: 2.281 kB / 403.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.004856/0.004885, allocations: 2.627 MB / 405.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.006429, allocations: 0.6543 MB / 406.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.006578, allocations: 11.94 kB / 406.4 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.006728, allocations: 31.64 kB / 406.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.00703, allocations: 99.17 kB / 406.5 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.00724, allocations: 67.78 kB / 406.6 MB, free: 4.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.007685, allocations: 318.3 kB / 406.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.007847, allocations: 28.58 kB / 406.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.00812, allocations: 167.6 kB / 407.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.008333, allocations: 99.7 kB / 407.2 MB, free: 4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.008381, allocations: 16 kB / 407.2 MB, free: 3.984 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/0.00843, allocations: 20 kB / 407.2 MB, free: 3.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.008494, allocations: 39.83 kB / 407.2 MB, free: 3.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.008633, allocations: 83.83 kB / 407.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.009019, allocations: 235.3 kB / 407.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.009023, allocations: 0 / 407.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.009024, allocations: 3.938 kB / 407.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.00903, allocations: 4 kB / 407.6 MB, free: 3.605 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001067/0.0101, allocations: 471.2 kB / 408 MB, free: 3.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.01014, allocations: 15.98 kB / 408 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.01022, allocations: 24.78 kB / 408.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.01059, allocations: 202.1 kB / 408.3 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.0107, allocations: 64.25 kB / 408.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.01074, allocations: 16.38 kB / 408.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.01124, allocations: 227.8 kB / 408.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01125, allocations: 192 / 408.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.01128, allocations: 11.92 kB / 408.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01129, allocations: 4 kB / 408.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.0118, allocations: 156 kB / 408.7 MB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.01283, allocations: 455.9 kB / 409.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.01344, allocations: 174.5 kB / 409.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.01375, allocations: 93.05 kB / 409.4 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.01378, allocations: 4 kB / 409.4 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.01421, allocations: 196.3 kB / 409.6 MB, free: 1.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.01421, allocations: 4 kB / 409.6 MB, free: 1.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008478/0.01506, allocations: 245.4 kB / 409.9 MB, free: 1.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.01512, allocations: 55.41 kB / 409.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.01533, allocations: 179.6 kB / 410.1 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.01537, allocations: 33.7 kB / 410.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01549, allocations: 140.3 kB / 410.3 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.01556, allocations: 51.59 kB / 410.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.01565, allocations: 41.64 kB / 410.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.01584, allocations: 330.8 kB / 410.7 MB, free: 276 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.01611, allocations: 97.66 kB / 410.8 MB, free: 172 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.01638, allocations: 115.3 kB / 410.9 MB, free: 44 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.167/0.1834, allocations: 175.5 kB / 411.1 MB, free: 21.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1834, allocations: 2.312 kB / 411.1 MB, free: 21.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007173/0.1841, allocations: 283.3 kB / 411.3 MB, free: 21.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1841, allocations: 38.47 kB / 411.4 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1841, allocations: 1.797 kB / 411.4 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1842, allocations: 1.062 kB / 411.4 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.1846, allocations: 56.28 kB / 411.4 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1846, allocations: 1.969 kB / 411.4 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1848, allocations: 28.09 kB / 411.5 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.1848, allocations: 5.891 kB / 411.5 MB, free: 21.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 19 * 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.0001042/0.1849, allocations: 136.9 kB / 411.6 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1849, allocations: 16.56 kB / 411.6 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.1855, allocations: 212.7 kB / 411.8 MB, free: 21.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1855, allocations: 1.844 kB / 411.8 MB, free: 21.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1855, allocations: 1.094 kB / 411.8 MB, free: 21.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1855, allocations: 3.203 kB / 411.8 MB, free: 21.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.1864, allocations: 473.8 kB / 412.3 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1864, allocations: 0.8438 kB / 412.3 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.1867, allocations: 52.45 kB / 412.4 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1867, allocations: 3.031 kB / 412.4 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1867, allocations: 3.109 kB / 412.4 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1867, allocations: 2.016 kB / 412.4 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1867, allocations: 3.938 kB / 412.4 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.1875, allocations: 375 kB / 412.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.1876, allocations: 12.59 kB / 412.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.1876, allocations: 3.562 kB / 412.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1878, allocations: 19.22 kB / 412.8 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.1878, allocations: 25.61 kB / 412.8 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1879, allocations: 4.75 kB / 412.8 MB, free: 20.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.188, allocations: 135.3 kB / 412.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.188, allocations: 0 / 412.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.1883, allocations: 56.53 kB / 413 MB, free: 20.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,veins.volume) * 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 9.478e-05/0.1884, allocations: 98.77 kB / 413.1 MB, free: 20.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.1889, allocations: 245.8 kB / 413.3 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1889, allocations: 0 / 413.3 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1891, allocations: 85.61 kB / 413.4 MB, free: 20.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1896, allocations: 43.78 kB / 413.4 MB, free: 20.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.1904, allocations: 438 kB / 413.9 MB, free: 20.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/0.1905, allocations: 119 kB / 414 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1906, allocations: 26.64 kB / 414 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.1907, allocations: 20.31 kB / 414 MB, free: 20.13 MB / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.1907, allocations: 1.281 kB / 414 MB, free: 20.13 MB / 330.7 MB Notification: Performance of Templates: time 0.006871/0.1976, allocations: 2.633 MB / 416.7 MB, free: 19.83 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.412858837749809]