Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.09107/0.09107, allocations: 11.16 MB / 30.51 MB, free: 4.457 MB / 24.77 MB " [Timeout remaining time 180] 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.001796/0.001796, allocations: 90.7 kB / 38.14 MB, free: 7.082 MB / 33.03 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.001969/0.001969, allocations: 168.5 kB / 45.86 MB, free: 10.46 MB / 44.04 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.496/1.496, allocations: 177.1 MB / 230.6 MB, free: 4.781 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1633/0.1633, allocations: 17.61 MB / 309.1 MB, free: 8.824 MB / 282.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 390.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.095e-05, allocations: 2.312 kB / 390.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.04286/0.0429, allocations: 35.24 MB / 425.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02579/0.06869, allocations: 17.99 MB / 443.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.06917, allocations: 7.938 kB / 443.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.06986, allocations: 119.1 kB / 443.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00778/0.07764, allocations: 1.828 MB / 445.6 MB, free: 7.297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.08315, allocations: 1.386 MB / 447 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.08421, allocations: 0.5793 MB / 447.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.08527, allocations: 0.7202 MB / 448.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.08827, allocations: 1.371 MB / 449.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.08927, allocations: 0.5692 MB / 450.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.08943, allocations: 76 kB / 450.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005829/0.09525, allocations: 1.932 MB / 452.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003817/0.09564, allocations: 279.3 kB / 452.5 MB, free: 380 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.09606, allocations: 267.6 kB / 452.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.1024, allocations: 2.993 MB / 455.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1024, allocations: 0 / 455.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1024, allocations: 0 / 455.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1025, allocations: 7.938 kB / 455.8 MB, free: 13.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002525/0.105, allocations: 1.054 MB / 456.8 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.105, allocations: 8.031 kB / 456.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1053, allocations: 55.77 kB / 456.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.106, allocations: 371.8 kB / 457.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.106, allocations: 16.5 kB / 457.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.1061, allocations: 24 kB / 457.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1073, allocations: 0.5931 MB / 457.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1073, allocations: 0 / 457.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/0.1073, allocations: 8 kB / 457.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.1073, allocations: 4 kB / 457.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.1091, allocations: 0.8841 MB / 458.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.112, allocations: 1.159 MB / 459.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.1127, allocations: 271.1 kB / 460.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.1132, allocations: 224.1 kB / 460.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.1134, allocations: 39.95 kB / 460.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1134, allocations: 37.39 kB / 460.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001362/0.1148, allocations: 283.5 kB / 460.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.1148, allocations: 0 / 460.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.00817/0.123, allocations: 1.626 MB / 462.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.123, allocations: 59.34 kB / 462.5 MB, free: 6.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.1235, allocations: 350.3 kB / 462.8 MB, free: 5.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.1235, allocations: 29.7 kB / 462.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1237, allocations: 227.5 kB / 463.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.1239, allocations: 119.1 kB / 463.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.1241, allocations: 95.28 kB / 463.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003098/0.1244, allocations: 0.5313 MB / 463.8 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.1247, allocations: 167.9 kB / 464 MB, free: 4.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.1251, allocations: 168.2 kB / 464.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.1259, allocations: 375.6 kB / 464.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1259, allocations: 0 / 464.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002058/0.1279, allocations: 0.7472 MB / 465.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.128, allocations: 6.344 kB / 465.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.128, allocations: 0 / 465.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04926/0.1772, allocations: 3.858 MB / 469.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.1773, allocations: 11.94 kB / 469.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/0.1807, allocations: 1.53 MB / 470.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.181, allocations: 8 kB / 470.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.1811, allocations: 27.95 kB / 470.7 MB, free: 13.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.1813, allocations: 176.6 kB / 470.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1815, allocations: 47.75 kB / 470.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.1835, allocations: 0.8268 MB / 471.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.1835, allocations: 4 kB / 471.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1835, allocations: 0 / 471.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1835, allocations: 3.984 kB / 471.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.186, allocations: 1.337 MB / 473.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1861, allocations: 4 kB / 473.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.1861, allocations: 3.938 kB / 473.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.1883, allocations: 0.6848 MB / 473.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.1883, allocations: 8 kB / 473.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.1907, allocations: 1.528 MB / 475.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1907, allocations: 0 / 475.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.1921, allocations: 0.7896 MB / 476.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.1923, allocations: 75.64 kB / 476.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.1924, allocations: 12 kB / 476.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.1926, allocations: 4 kB / 476.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.1927, allocations: 23.95 kB / 476.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.1928, allocations: 19.98 kB / 476.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003065/0.1931, allocations: 243 kB / 476.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1931, allocations: 0 / 476.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001917/0.195, allocations: 0.5953 MB / 477.1 MB, free: 7.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00246/0.1975, allocations: 1.082 MB / 478.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.1999, allocations: 0.5798 MB / 478.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1999, allocations: 0 / 478.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.2011, allocations: 369.7 kB / 479.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.2024, allocations: 259 kB / 479.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.204, allocations: 0.7563 MB / 480.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.2042, allocations: 189 kB / 480.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2043, allocations: 27.28 kB / 480.3 MB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.2044, allocations: 24.5 kB / 480.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2044, allocations: 0 / 480.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of Templates: time 0.04241/0.2468, allocations: 24.3 MB / 0.4928 GB, free: 12.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0799896849785]