Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.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.001926/0.001926, allocations: 88.44 kB / 19.17 MB, free: 0.7344 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.001982/0.001982, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.698/1.698, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.348/1.348, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6999 GB, free: 9.562 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/2.984e-05, allocations: 6.281 kB / 0.6999 GB, free: 9.555 MB / 458.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin): time 0.003865/0.003895, allocations: 2.305 MB / 0.7022 GB, free: 7.238 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.009029/0.01292, allocations: 6.526 MB / 0.7085 GB, free: 0.7031 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.01312, allocations: 0 / 0.7085 GB, free: 0.7031 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.01327, allocations: 31.7 kB / 0.7086 GB, free: 0.6719 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.01353, allocations: 91.2 kB / 0.7086 GB, free: 0.582 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.01377, allocations: 47.88 kB / 0.7087 GB, free: 0.5352 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.01414, allocations: 274.6 kB / 0.709 GB, free: 272 kB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.01428, allocations: 32.58 kB / 0.709 GB, free: 240 kB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.0145, allocations: 139.6 kB / 0.7091 GB, free: 100 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.01471, allocations: 79.78 kB / 0.7092 GB, free: 20 kB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.01477, allocations: 23.92 kB / 0.7092 GB, free: 15.99 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.01481, allocations: 16 kB / 0.7092 GB, free: 15.98 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.01486, allocations: 39.8 kB / 0.7093 GB, free: 15.94 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.01497, allocations: 79.77 kB / 0.7093 GB, free: 15.86 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.01549, allocations: 203.3 kB / 0.7095 GB, free: 15.66 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01549, allocations: 0 / 0.7095 GB, free: 15.66 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01549, allocations: 0 / 0.7095 GB, free: 15.66 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.0155, allocations: 4 kB / 0.7095 GB, free: 15.66 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.000987/0.01649, allocations: 497.7 kB / 0.71 GB, free: 15.13 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01652, allocations: 8.031 kB / 0.71 GB, free: 15.12 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.01659, allocations: 28.73 kB / 0.7101 GB, free: 15.09 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.01687, allocations: 178.4 kB / 0.7102 GB, free: 14.89 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.01689, allocations: 12.61 kB / 0.7102 GB, free: 14.88 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.01694, allocations: 16.33 kB / 0.7102 GB, free: 14.86 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.01735, allocations: 202.7 kB / 0.7104 GB, free: 14.65 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.01737, allocations: 0 / 0.7104 GB, free: 14.65 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.01739, allocations: 4 kB / 0.7104 GB, free: 14.64 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.0174, allocations: 4 kB / 0.7104 GB, free: 14.64 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.01779, allocations: 146.2 kB / 0.7106 GB, free: 14.49 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.01866, allocations: 477.5 kB / 0.711 GB, free: 13.99 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.0192, allocations: 176.2 kB / 0.7112 GB, free: 13.8 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.01942, allocations: 98.52 kB / 0.7113 GB, free: 13.7 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.01943, allocations: 0 / 0.7113 GB, free: 13.7 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.01983, allocations: 224.3 kB / 0.7115 GB, free: 13.45 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.01983, allocations: 0 / 0.7115 GB, free: 13.45 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001622/0.02145, allocations: 0.7089 MB / 0.7122 GB, free: 12.68 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.02156, allocations: 136.5 kB / 0.7123 GB, free: 12.52 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.02183, allocations: 222.9 kB / 0.7126 GB, free: 12.29 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.02186, allocations: 33.7 kB / 0.7126 GB, free: 12.25 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.02198, allocations: 132.5 kB / 0.7127 GB, free: 12.12 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.02205, allocations: 67.48 kB / 0.7128 GB, free: 12.05 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.02214, allocations: 57.66 kB / 0.7128 GB, free: 11.99 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.02234, allocations: 338.8 kB / 0.7132 GB, free: 11.65 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.02262, allocations: 144.9 kB / 0.7133 GB, free: 11.49 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.02295, allocations: 225.3 kB / 0.7135 GB, free: 11.22 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.02344, allocations: 280.6 kB / 0.7138 GB, free: 10.91 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.02344, allocations: 0 / 0.7138 GB, free: 10.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007135/0.02416, allocations: 390.7 kB / 0.7141 GB, free: 10.5 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.02422, allocations: 63.61 kB / 0.7142 GB, free: 10.42 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.02422, allocations: 4 kB / 0.7142 GB, free: 10.42 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.02424, allocations: 4 kB / 0.7142 GB, free: 10.41 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.02447, allocations: 51.84 kB / 0.7143 GB, free: 10.36 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.02448, allocations: 4 kB / 0.7143 GB, free: 10.36 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.02467, allocations: 19.98 kB / 0.7143 GB, free: 10.34 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.02469, allocations: 12 kB / 0.7143 GB, free: 10.33 MB / 474.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.0002363/0.02493, allocations: 175.7 kB / 0.7145 GB, free: 10.14 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.02497, allocations: 19.86 kB / 0.7145 GB, free: 10.12 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.02503, allocations: 33.95 kB / 0.7145 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.02503, allocations: 0 / 0.7145 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.02504, allocations: 3.938 kB / 0.7145 GB, free: 10.08 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.02505, allocations: 7.922 kB / 0.7145 GB, free: 10.07 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.02596, allocations: 0.5368 MB / 0.7151 GB, free: 9.488 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02596, allocations: 0 / 0.7151 GB, free: 9.488 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.02616, allocations: 31.97 kB / 0.7151 GB, free: 9.457 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.02616, allocations: 4 kB / 0.7151 GB, free: 9.453 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.02618, allocations: 8 kB / 0.7151 GB, free: 9.445 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.02618, allocations: 0 / 0.7151 GB, free: 9.445 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.02618, allocations: 0 / 0.7151 GB, free: 9.445 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.02706, allocations: 0.4968 MB / 0.7156 GB, free: 8.914 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.02711, allocations: 23.89 kB / 0.7156 GB, free: 8.891 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.02715, allocations: 8 kB / 0.7156 GB, free: 8.883 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.02733, allocations: 15.98 kB / 0.7156 GB, free: 8.867 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.02742, allocations: 19.97 kB / 0.7156 GB, free: 8.848 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.02744, allocations: 11.98 kB / 0.7157 GB, free: 8.836 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0001886/0.02763, allocations: 160.4 kB / 0.7158 GB, free: 8.68 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02763, allocations: 0 / 0.7158 GB, free: 8.68 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003049/0.02793, allocations: 52 kB / 0.7159 GB, free: 8.629 MB / 474.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.0001556/0.02809, allocations: 120.9 kB / 0.716 GB, free: 8.504 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0008246/0.02891, allocations: 387.7 kB / 0.7163 GB, free: 8.082 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02891, allocations: 0 / 0.7163 GB, free: 8.082 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.0292, allocations: 173 kB / 0.7165 GB, free: 7.895 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.02968, allocations: 60.2 kB / 0.7166 GB, free: 7.836 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.03086, allocations: 0.571 MB / 0.7171 GB, free: 7.234 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.031, allocations: 129.7 kB / 0.7172 GB, free: 7.086 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 9.524e-05/0.0311, allocations: 25.94 kB / 0.7173 GB, free: 7.062 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.03116, allocations: 24.48 kB / 0.7173 GB, free: 7.039 MB / 474.8 MB Notification: Performance of SimCode: time 6.41e-07/0.03116, allocations: 0 / 0.7173 GB, free: 7.039 MB / 474.8 MB Notification: Performance of Templates: time 0.007998/0.03916, allocations: 3.335 MB / 0.7206 GB, free: 3.867 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.867244180990383]