Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.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.001084/0.001084, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001048/0.001048, allocations: 221.8 kB / 23.01 MB, free: 2.941 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.141/1.141, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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 0.8195/0.8195, allocations: 312.3 MB / 0.6108 GB, free: 97.18 MB / 410.7 MB " [Timeout remaining time 179] 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.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference") [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.001627/0.001627, allocations: 77.84 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1652, allocations: 73.99 MB / 0.8421 GB, free: 9.84 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference): time 0.003725/0.1689, allocations: 2.301 MB / 0.8444 GB, free: 7.543 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.1757, allocations: 6.529 MB / 0.8508 GB, free: 1.012 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1758, allocations: 4.5 kB / 0.8508 GB, free: 1.008 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.176, allocations: 28.25 kB / 0.8508 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1763, allocations: 76.48 kB / 0.8509 GB, free: 0.9062 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1766, allocations: 56.62 kB / 0.8509 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.003323/0.1799, allocations: 254.7 kB / 0.8512 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1801, allocations: 37.19 kB / 0.8512 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1802, allocations: 95.64 kB / 0.8513 GB, free: 484 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1805, allocations: 100.1 kB / 0.8514 GB, free: 384 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1805, allocations: 16.62 kB / 0.8514 GB, free: 368 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.1805, allocations: 16 kB / 0.8514 GB, free: 352 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1806, allocations: 40.38 kB / 0.8515 GB, free: 312 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1807, allocations: 88.47 kB / 0.8515 GB, free: 224 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1809, allocations: 203.1 kB / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.181, allocations: 0.875 kB / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.181, allocations: 0 / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.181, allocations: 0 / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.003935/0.1849, allocations: 0.4947 MB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.185, allocations: 12.53 kB / 0.8522 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.185, allocations: 24.8 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1853, allocations: 179.8 kB / 0.8524 GB, free: 15.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1853, allocations: 9.109 kB / 0.8524 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.1853, allocations: 23.89 kB / 0.8525 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.1857, allocations: 187 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1857, allocations: 0.625 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1857, allocations: 12.67 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1857, allocations: 3.938 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.186, allocations: 147.5 kB / 0.8528 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/0.1868, allocations: 486.7 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.1872, allocations: 173 kB / 0.8534 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1873, allocations: 95.09 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1874, allocations: 0.625 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003336/0.1907, allocations: 225.6 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.877e-06/0.1907, allocations: 3.984 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001265/0.192, allocations: 0.7092 MB / 0.8544 GB, free: 13.03 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.192, allocations: 132.5 kB / 0.8545 GB, free: 12.87 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1922, allocations: 219.5 kB / 0.8548 GB, free: 12.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1923, allocations: 25.7 kB / 0.8548 GB, free: 12.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.1924, allocations: 145 kB / 0.8549 GB, free: 12.47 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.1924, allocations: 64.02 kB / 0.855 GB, free: 12.41 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.1925, allocations: 57.69 kB / 0.855 GB, free: 12.35 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1926, allocations: 339.3 kB / 0.8554 GB, free: 12.01 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4216/0.6142, allocations: 140.2 kB / 0.8555 GB, free: 30.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.6145, allocations: 226.5 kB / 0.8557 GB, free: 30.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.6148, allocations: 275.2 kB / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6148, allocations: 0.6875 kB / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006274/0.6155, allocations: 392.9 kB / 0.8563 GB, free: 29.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.6155, allocations: 72.61 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6156, allocations: 1.844 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/0.6156, allocations: 9.75 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.6158, allocations: 48.73 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.6158, allocations: 7.531 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.616, allocations: 16.19 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.616, allocations: 10.59 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0003133/0.6163, allocations: 180.4 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.6164, allocations: 31.16 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.6164, allocations: 22.7 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6164, allocations: 2.281 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6164, allocations: 0 / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6165, allocations: 0.6562 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.6175, allocations: 0.5357 MB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.6175, allocations: 0.625 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.6176, allocations: 37.19 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.6177, allocations: 0.7031 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.6177, allocations: 7.906 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.6177, allocations: 7.656 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6177, allocations: 0.5938 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.6184, allocations: 498.5 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.6184, allocations: 25.47 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.6184, allocations: 6.625 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6186, allocations: 13.98 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.6187, allocations: 26.22 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.6187, allocations: 3.469 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001932/0.6189, allocations: 164 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6189, allocations: 2.797 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002669/0.6192, allocations: 56 kB / 0.8581 GB, free: 29.03 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001867/0.6194, allocations: 112.8 kB / 0.8582 GB, free: 28.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.6199, allocations: 381.4 kB / 0.8585 GB, free: 28.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6199, allocations: 0 / 0.8585 GB, free: 28.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.6202, allocations: 173.6 kB / 0.8587 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.6206, allocations: 73.45 kB / 0.8588 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.6223, allocations: 0.6988 MB / 0.8595 GB, free: 28.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.6224, allocations: 127 kB / 0.8596 GB, free: 28.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.6225, allocations: 21.28 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of SimCode: time 1.333e-06/0.6225, allocations: 1.312 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of Templates: time 0.006946/0.6295, allocations: 2.949 MB / 0.8625 GB, free: 28 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.109788013622165]