Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.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.001997/0.001997, 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.002275/0.002275, 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.731/1.731, allocations: 230.6 MB / 256 MB, free: 9.598 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.452/1.452, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.Examples.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") translateModel(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") [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.005886/0.005886, allocations: 73.77 kB / 0.7749 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1705, allocations: 74 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide): time 0.004901/0.1754, allocations: 2.298 MB / 0.8494 GB, free: 2.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1769, allocations: 0.591 MB / 0.85 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.1771, allocations: 0 / 0.85 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.119e-05/0.1772, allocations: 24.34 kB / 0.85 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1776, allocations: 88.84 kB / 0.8501 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1778, allocations: 43.95 kB / 0.8502 GB, free: 1.867 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.1782, allocations: 259.4 kB / 0.8504 GB, free: 1.613 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1784, allocations: 37.33 kB / 0.8505 GB, free: 1.578 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1787, allocations: 99.62 kB / 0.8506 GB, free: 1.48 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.179, allocations: 96.05 kB / 0.8506 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.179, allocations: 20 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.1791, allocations: 16.66 kB / 0.8507 GB, free: 1.352 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.1792, allocations: 40.56 kB / 0.8507 GB, free: 1.312 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1793, allocations: 91.59 kB / 0.8508 GB, free: 1.223 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1797, allocations: 199.9 kB / 0.851 GB, free: 1.027 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1797, allocations: 0 / 0.851 GB, free: 1.027 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1797, allocations: 0.625 kB / 0.851 GB, free: 1.027 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1797, allocations: 0 / 0.851 GB, free: 1.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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001155/0.1809, allocations: 0.4914 MB / 0.8515 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1809, allocations: 8.031 kB / 0.8515 GB, free: 496 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.181, allocations: 28.73 kB / 0.8515 GB, free: 468 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1812, allocations: 167.7 kB / 0.8517 GB, free: 276 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1812, allocations: 12.61 kB / 0.8517 GB, free: 264 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1813, allocations: 12.38 kB / 0.8517 GB, free: 252 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.1817, allocations: 178.3 kB / 0.8519 GB, free: 68 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1817, allocations: 0 / 0.8519 GB, free: 68 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1817, allocations: 4 kB / 0.8519 GB, free: 64 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1817, allocations: 0 / 0.8519 GB, free: 64 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.1822, allocations: 160.9 kB / 0.852 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1832, allocations: 404.8 kB / 0.8524 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.1838, allocations: 198.8 kB / 0.8526 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.1841, allocations: 102.5 kB / 0.8527 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1841, allocations: 4 kB / 0.8527 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.1845, allocations: 228.5 kB / 0.8529 GB, free: 14.9 MB / 490.8 MB Notification: Performance of pre-optimization done (n=22): time 4.558e-06/0.1845, allocations: 3.984 kB / 0.8529 GB, free: 14.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=23): time 0.001838/0.1864, allocations: 0.7322 MB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.1865, allocations: 144.4 kB / 0.8538 GB, free: 13.94 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.1868, allocations: 208.4 kB / 0.854 GB, free: 13.72 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.1868, allocations: 33.7 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1869, allocations: 129.1 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.187, allocations: 80 kB / 0.8542 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.1871, allocations: 45.7 kB / 0.8542 GB, free: 13.42 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1873, allocations: 339.4 kB / 0.8546 GB, free: 13.08 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.1876, allocations: 145.6 kB / 0.8547 GB, free: 12.92 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.188, allocations: 213.1 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.1885, allocations: 285.6 kB / 0.8552 GB, free: 12.36 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1885, allocations: 0 / 0.8552 GB, free: 12.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.3321/0.5206, allocations: 388.4 kB / 0.8556 GB, free: 28.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.5206, allocations: 65.09 kB / 0.8556 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.5206, allocations: 3.406 kB / 0.8556 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/0.5207, allocations: 8.609 kB / 0.8556 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.5209, allocations: 54.58 kB / 0.8557 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5209, allocations: 3.031 kB / 0.8557 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.5211, allocations: 20.36 kB / 0.8557 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.5211, allocations: 13.81 kB / 0.8557 GB, free: 28.14 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: 7 * 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 (32): * Single equations (assignments): 30 * 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.0002204/0.5214, allocations: 168.1 kB / 0.8559 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.5214, allocations: 21.45 kB / 0.8559 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.522, allocations: 313.8 kB / 0.8562 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.522, allocations: 0.8438 kB / 0.8562 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.522, allocations: 5.578 kB / 0.8562 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.522, allocations: 1.969 kB / 0.8562 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.5228, allocations: 0.5606 MB / 0.8568 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5228, allocations: 2.938 kB / 0.8568 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.523, allocations: 52.02 kB / 0.8568 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.523, allocations: 0.5625 kB / 0.8568 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.523, allocations: 2.875 kB / 0.8568 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.523, allocations: 0 / 0.8568 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.523, allocations: 1.75 kB / 0.8568 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.5237, allocations: 0.5098 MB / 0.8573 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.5237, allocations: 19.84 kB / 0.8573 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5238, allocations: 12.53 kB / 0.8573 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.524, allocations: 12.34 kB / 0.8574 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5241, allocations: 26.52 kB / 0.8574 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5241, allocations: 16.48 kB / 0.8574 GB, free: 27.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001311/0.5242, allocations: 155.6 kB / 0.8575 GB, free: 27.29 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5242, allocations: 0.625 kB / 0.8575 GB, free: 27.29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003132/0.5245, allocations: 52.44 kB / 0.8576 GB, free: 27.29 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 (21): * Single equations (assignments): 18 * 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.00012/0.5246, allocations: 113 kB / 0.8577 GB, free: 27.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005435/0.5252, allocations: 386.7 kB / 0.8581 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5252, allocations: 0.5312 kB / 0.8581 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.5254, allocations: 180.2 kB / 0.8582 GB, free: 26.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.5259, allocations: 68.64 kB / 0.8583 GB, free: 26.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.527, allocations: 0.6704 MB / 0.859 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.5271, allocations: 127.8 kB / 0.8591 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000107/0.5272, allocations: 29.14 kB / 0.8591 GB, free: 26.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.5273, allocations: 22.09 kB / 0.8591 GB, free: 26.5 MB / 490.8 MB Notification: Performance of SimCode: time 7.11e-07/0.5273, allocations: 0.75 kB / 0.8591 GB, free: 26.5 MB / 490.8 MB Notification: Performance of Templates: time 0.008753/0.536, allocations: 3.761 MB / 0.8628 GB, free: 26.18 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.523295962018892]