Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin.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.001189/0.001189, allocations: 112.3 kB / 19.71 MB, free: 432 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.001425/0.001425, allocations: 212.4 kB / 23 MB, free: 2.965 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.053/1.053, 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.8261/0.8261, allocations: 312.3 MB / 0.6109 GB, free: 97.79 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.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin") [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.001819/0.001819, allocations: 75.7 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1721, allocations: 74 MB / 0.8422 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin): time 0.003714/0.1758, allocations: 2.309 MB / 0.8444 GB, free: 8.059 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.1835, allocations: 6.529 MB / 0.8508 GB, free: 1.527 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.1838, allocations: 4.688 kB / 0.8508 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.184, allocations: 23.72 kB / 0.8508 GB, free: 1.5 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1843, allocations: 76.67 kB / 0.8509 GB, free: 1.426 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1846, allocations: 60.48 kB / 0.851 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.185, allocations: 250.7 kB / 0.8512 GB, free: 1.121 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1851, allocations: 41.16 kB / 0.8512 GB, free: 1.082 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1853, allocations: 96.23 kB / 0.8513 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1855, allocations: 104.1 kB / 0.8514 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.1856, allocations: 16 kB / 0.8514 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.1856, allocations: 16.5 kB / 0.8515 GB, free: 0.8555 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.1857, allocations: 36.39 kB / 0.8515 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1858, allocations: 91.58 kB / 0.8516 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.186, allocations: 195.7 kB / 0.8518 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1861, allocations: 0.5938 kB / 0.8518 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1861, allocations: 0 / 0.8518 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1861, allocations: 4.688 kB / 0.8518 GB, free: 0.5352 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.0008965/0.187, allocations: 0.4903 MB / 0.8522 GB, free: 0 / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.187, allocations: 12.67 kB / 0.8523 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.1871, allocations: 20.8 kB / 0.8523 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1874, allocations: 184 kB / 0.8525 GB, free: 15.76 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1874, allocations: 8.609 kB / 0.8525 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.1874, allocations: 24.77 kB / 0.8525 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.1877, allocations: 190.4 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1877, allocations: 0.5 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.1878, allocations: 8.625 kB / 0.8527 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1878, allocations: 3.938 kB / 0.8527 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.188, allocations: 151.4 kB / 0.8528 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.1887, allocations: 482.5 kB / 0.8533 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.1891, allocations: 173.3 kB / 0.8535 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1892, allocations: 103.6 kB / 0.8536 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1892, allocations: 0 / 0.8536 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.1895, allocations: 225.7 kB / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.1895, allocations: 0 / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001185/0.1907, allocations: 0.7053 MB / 0.8545 GB, free: 13.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.1908, allocations: 132.5 kB / 0.8546 GB, free: 13.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.191, allocations: 219.6 kB / 0.8548 GB, free: 13.17 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.191, allocations: 29.7 kB / 0.8548 GB, free: 13.13 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.1911, allocations: 137.1 kB / 0.8549 GB, free: 13 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1911, allocations: 71.41 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.1912, allocations: 58.34 kB / 0.8551 GB, free: 12.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1913, allocations: 338.8 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1915, allocations: 146.2 kB / 0.8555 GB, free: 12.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.1917, allocations: 224.3 kB / 0.8557 GB, free: 12.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4224/0.614, allocations: 280.6 kB / 0.856 GB, free: 30.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.614, allocations: 0.9375 kB / 0.856 GB, free: 30.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005703/0.6146, allocations: 387.2 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/0.6147, allocations: 68.31 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6147, allocations: 2.906 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/0.6147, allocations: 1.406 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.6149, allocations: 52.42 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.6149, allocations: 7.922 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.615, allocations: 24.66 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.6151, allocations: 8.875 kB / 0.8565 GB, free: 30.05 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.0002473/0.6153, allocations: 174.2 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.6154, allocations: 21.17 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.6154, allocations: 30.62 kB / 0.8568 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.6154, allocations: 1.219 kB / 0.8568 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6154, allocations: 2.906 kB / 0.8568 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.6154, allocations: 2.062 kB / 0.8568 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.6161, allocations: 0.5325 MB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6161, allocations: 0 / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.6162, allocations: 37.55 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.6162, allocations: 4.953 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.6162, allocations: 6.375 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6162, allocations: 4.719 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6163, allocations: 5.562 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.6167, allocations: 498.9 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.6168, allocations: 21.89 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.6168, allocations: 6.625 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.6169, allocations: 18.86 kB / 0.8579 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.617, allocations: 23 kB / 0.8579 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.617, allocations: 2.875 kB / 0.8579 GB, free: 29.37 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001113/0.6171, allocations: 159 kB / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.6171, allocations: 2.953 kB / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000214/0.6173, allocations: 55.69 kB / 0.8581 GB, free: 29.3 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.0001253/0.6175, allocations: 123.1 kB / 0.8582 GB, free: 29.21 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.6178, allocations: 380.4 kB / 0.8586 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6178, allocations: 3.125 kB / 0.8586 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.618, allocations: 169.5 kB / 0.8587 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.6183, allocations: 68.31 kB / 0.8588 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.6195, allocations: 0.6989 MB / 0.8595 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.6196, allocations: 130.1 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.67e-05/0.6197, allocations: 23.16 kB / 0.8596 GB, free: 28.49 MB / 490.8 MB Notification: Performance of SimCode: time 2.184e-06/0.6197, allocations: 0 / 0.8596 GB, free: 28.49 MB / 490.8 MB Notification: Performance of Templates: time 0.006407/0.6261, allocations: 2.943 MB / 0.8625 GB, free: 28.29 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB14_Plazomicin.Plazomicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.158214093185961]