Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.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.001924/0.001924, allocations: 109.5 kB / 18.95 MB, free: 1.172 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: 219.6 kB / 22.25 MB, free: 3.559 MB / 13.93 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.793/1.793, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.567/1.567, allocations: 316.8 MB / 0.6144 GB, free: 93 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") translateModel(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") [Timeout 660] "Notification: Pharmacolibrary 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.01138/0.01138, allocations: 81.89 kB / 0.7749 GB, free: 14.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1735, allocations: 73.99 MB / 0.8472 GB, free: 4.977 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.00339/0.1769, allocations: 1.703 MB / 0.8489 GB, free: 3.277 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1783, allocations: 0.5379 MB / 0.8494 GB, free: 2.738 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.1784, allocations: 0 / 0.8494 GB, free: 2.738 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1785, allocations: 16.45 kB / 0.8494 GB, free: 2.723 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.1789, allocations: 64.7 kB / 0.8495 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1792, allocations: 65.77 kB / 0.8495 GB, free: 2.602 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.1795, allocations: 172 kB / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1795, allocations: 9.297 kB / 0.8497 GB, free: 2.426 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1797, allocations: 80.34 kB / 0.8498 GB, free: 2.348 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.18, allocations: 88.27 kB / 0.8499 GB, free: 2.262 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.18, allocations: 8 kB / 0.8499 GB, free: 2.254 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.1801, allocations: 12.59 kB / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1802, allocations: 52.47 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1803, allocations: 55.78 kB / 0.85 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1805, allocations: 112 kB / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1805, allocations: 0.625 kB / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1805, allocations: 0 / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1805, allocations: 0.5938 kB / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009834/0.1815, allocations: 417.1 kB / 0.8505 GB, free: 1.586 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1815, allocations: 12.66 kB / 0.8505 GB, free: 1.574 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.1816, allocations: 20.83 kB / 0.8505 GB, free: 1.555 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1819, allocations: 155.9 kB / 0.8507 GB, free: 1.379 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1819, allocations: 9 kB / 0.8507 GB, free: 1.371 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.1819, allocations: 4.375 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1822, allocations: 114.5 kB / 0.8508 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1822, allocations: 0.5938 kB / 0.8508 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1823, allocations: 8.5 kB / 0.8508 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1823, allocations: 0 / 0.8508 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.1826, allocations: 101.1 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.1832, allocations: 253.1 kB / 0.8511 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.1837, allocations: 163.2 kB / 0.8513 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.1839, allocations: 73.39 kB / 0.8514 GB, free: 0.625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1839, allocations: 0.7812 kB / 0.8514 GB, free: 0.625 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.1843, allocations: 128 kB / 0.8515 GB, free: 500 kB / 474.8 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.1843, allocations: 0 / 0.8515 GB, free: 500 kB / 474.8 MB Notification: Performance of matching and sorting (n=16): time 0.0006899/0.1849, allocations: 253.5 kB / 0.8517 GB, free: 244 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.185, allocations: 52.19 kB / 0.8518 GB, free: 180 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1852, allocations: 169.8 kB / 0.8519 GB, free: 4 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.1852, allocations: 30.3 kB / 0.852 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.1853, allocations: 104.7 kB / 0.8521 GB, free: 15.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.1854, allocations: 55.48 kB / 0.8521 GB, free: 15.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.1855, allocations: 46.34 kB / 0.8522 GB, free: 15.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1856, allocations: 322.8 kB / 0.8525 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1859, allocations: 102.8 kB / 0.8526 GB, free: 15.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.1862, allocations: 214.9 kB / 0.8528 GB, free: 15.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.1866, allocations: 173.6 kB / 0.8529 GB, free: 14.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1866, allocations: 4.625 kB / 0.8529 GB, free: 14.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000685/0.1873, allocations: 273.5 kB / 0.8532 GB, free: 14.62 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.1873, allocations: 30.42 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1874, allocations: 4 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1874, allocations: 0.625 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.1876, allocations: 44.47 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1876, allocations: 4 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1878, allocations: 32.98 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1878, allocations: 7.984 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 20 * 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.0001304/0.188, allocations: 122.8 kB / 0.8534 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.188, allocations: 15.91 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.1885, allocations: 206 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.1885, allocations: 8.656 kB / 0.8537 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1885, allocations: 0 / 0.8537 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1885, allocations: 4.484 kB / 0.8537 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1888, allocations: 157.9 kB / 0.8538 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1888, allocations: 0 / 0.8538 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.189, allocations: 32.59 kB / 0.8538 GB, free: 13.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.189, allocations: 4.625 kB / 0.8538 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.189, allocations: 0 / 0.8538 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.189, allocations: 0.5938 kB / 0.8538 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.189, allocations: 3.938 kB / 0.8539 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.1897, allocations: 310.5 kB / 0.8541 GB, free: 13.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.1897, allocations: 11.91 kB / 0.8542 GB, free: 13.58 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.1898, allocations: 8.656 kB / 0.8542 GB, free: 13.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1899, allocations: 16.55 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.19, allocations: 19.91 kB / 0.8542 GB, free: 13.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.19, allocations: 12.73 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1901, allocations: 126.8 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1901, allocations: 0.5938 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002291/0.1904, allocations: 36.53 kB / 0.8544 GB, free: 13.37 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (q[1],q[2],qAbsorbed) * 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 (17): * Single equations (assignments): 15 * 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.0001341/0.1905, allocations: 107.8 kB / 0.8545 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.191, allocations: 238.2 kB / 0.8547 GB, free: 13 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.191, allocations: 0.7188 kB / 0.8547 GB, free: 13 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.1913, allocations: 87.19 kB / 0.8548 GB, free: 12.92 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1916, allocations: 46.2 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.1925, allocations: 379.5 kB / 0.8552 GB, free: 12.48 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.327/0.5195, allocations: 108.2 kB / 0.8553 GB, free: 28.32 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000208/0.5197, allocations: 27.17 kB / 0.8553 GB, free: 28.32 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.5198, allocations: 20.02 kB / 0.8553 GB, free: 28.32 MB / 490.8 MB Notification: Performance of SimCode: time 1.432e-06/0.5198, allocations: 0 / 0.8553 GB, free: 28.32 MB / 490.8 MB Notification: Performance of Templates: time 0.007043/0.5268, allocations: 3.1 MB / 0.8584 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.7699415378738195]