Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.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.001841/0.001841, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002095/0.002095, allocations: 170.3 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.641/1.641, 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.505/1.505, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") translateModel(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.295e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.003073/0.003106, allocations: 2.274 MB / 0.7021 GB, free: 6.309 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.004074, allocations: 0.5963 MB / 0.7027 GB, free: 5.711 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.00418, allocations: 0 / 0.7027 GB, free: 5.711 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.00431, allocations: 23.72 kB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.004507, allocations: 91.27 kB / 0.7028 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.004718, allocations: 55.81 kB / 0.7028 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.004973, allocations: 266.6 kB / 0.7031 GB, free: 5.281 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.005113, allocations: 32.56 kB / 0.7031 GB, free: 5.254 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.005284, allocations: 139.7 kB / 0.7032 GB, free: 5.117 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.005479, allocations: 83.72 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.00551, allocations: 16 kB / 0.7033 GB, free: 5.02 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.228e-05/0.005542, allocations: 19.94 kB / 0.7034 GB, free: 5 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.005575, allocations: 31.86 kB / 0.7034 GB, free: 4.969 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.005654, allocations: 79.83 kB / 0.7035 GB, free: 4.891 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.005872, allocations: 199.4 kB / 0.7037 GB, free: 4.695 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005874, allocations: 0 / 0.7037 GB, free: 4.695 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005875, allocations: 0 / 0.7037 GB, free: 4.695 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.00588, allocations: 0 / 0.7037 GB, free: 4.695 MB / 410.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.0007914/0.006671, allocations: 496.8 kB / 0.7041 GB, free: 4.164 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.006708, allocations: 11.97 kB / 0.7041 GB, free: 4.152 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.006765, allocations: 20.84 kB / 0.7042 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006965, allocations: 196.9 kB / 0.7043 GB, free: 3.914 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.006985, allocations: 4.609 kB / 0.7044 GB, free: 3.91 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.007017, allocations: 12.38 kB / 0.7044 GB, free: 3.898 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.007355, allocations: 206 kB / 0.7046 GB, free: 3.684 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.007369, allocations: 0 / 0.7046 GB, free: 3.684 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.007391, allocations: 4 kB / 0.7046 GB, free: 3.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.007396, allocations: 4 kB / 0.7046 GB, free: 3.676 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.007727, allocations: 138.3 kB / 0.7047 GB, free: 3.535 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.008432, allocations: 493.3 kB / 0.7052 GB, free: 3.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.008887, allocations: 176.1 kB / 0.7053 GB, free: 2.832 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.009064, allocations: 94.53 kB / 0.7054 GB, free: 2.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.009076, allocations: 0 / 0.7054 GB, free: 2.73 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.009385, allocations: 228.5 kB / 0.7056 GB, free: 2.477 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.009387, allocations: 0 / 0.7056 GB, free: 2.477 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001334/0.01072, allocations: 0.6984 MB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.01077, allocations: 140.5 kB / 0.7065 GB, free: 1.547 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.01093, allocations: 211.8 kB / 0.7067 GB, free: 1.328 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01096, allocations: 37.7 kB / 0.7067 GB, free: 1.285 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.01103, allocations: 128.5 kB / 0.7068 GB, free: 1.156 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.01107, allocations: 71.44 kB / 0.7069 GB, free: 1.086 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.01115, allocations: 49.66 kB / 0.7069 GB, free: 1.031 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.01121, allocations: 338.8 kB / 0.7073 GB, free: 0.6914 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.01142, allocations: 148.9 kB / 0.7074 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.01163, allocations: 221.3 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.01204, allocations: 280.8 kB / 0.7079 GB, free: 15.95 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01204, allocations: 0 / 0.7079 GB, free: 15.95 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007071/0.01275, allocations: 390.5 kB / 0.7083 GB, free: 15.54 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.01281, allocations: 63.39 kB / 0.7083 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01282, allocations: 0 / 0.7083 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.01284, allocations: 11.88 kB / 0.7083 GB, free: 15.45 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.01307, allocations: 47.91 kB / 0.7084 GB, free: 15.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.01308, allocations: 7.938 kB / 0.7084 GB, free: 15.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.01327, allocations: 19.98 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.01329, allocations: 12 kB / 0.7084 GB, free: 15.37 MB / 426.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.0002432/0.01353, allocations: 175.8 kB / 0.7086 GB, free: 15.18 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.01357, allocations: 15.91 kB / 0.7086 GB, free: 15.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.01363, allocations: 25.95 kB / 0.7086 GB, free: 15.14 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.01364, allocations: 11.92 kB / 0.7086 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.01365, allocations: 0 / 0.7086 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.01366, allocations: 4 kB / 0.7086 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.01457, allocations: 0.5368 MB / 0.7092 GB, free: 14.54 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01458, allocations: 0 / 0.7092 GB, free: 14.54 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.01478, allocations: 39.91 kB / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01478, allocations: 0 / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.01481, allocations: 8 kB / 0.7092 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01482, allocations: 0 / 0.7092 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.01482, allocations: 3.938 kB / 0.7092 GB, free: 14.48 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.0157, allocations: 499.8 kB / 0.7097 GB, free: 13.96 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.01574, allocations: 27.94 kB / 0.7097 GB, free: 13.94 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.01579, allocations: 8 kB / 0.7097 GB, free: 13.93 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.01597, allocations: 11.98 kB / 0.7097 GB, free: 13.92 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.01605, allocations: 19.97 kB / 0.7097 GB, free: 13.9 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.01607, allocations: 15.92 kB / 0.7098 GB, free: 13.88 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001767/0.01625, allocations: 149.5 kB / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01625, allocations: 0 / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000312/0.01656, allocations: 56 kB / 0.71 GB, free: 13.68 MB / 426.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.0001505/0.01671, allocations: 107.2 kB / 0.7101 GB, free: 13.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.01739, allocations: 383.5 kB / 0.7104 GB, free: 13.15 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01739, allocations: 0 / 0.7104 GB, free: 13.15 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.01768, allocations: 175.8 kB / 0.7106 GB, free: 12.96 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.01816, allocations: 72.31 kB / 0.7107 GB, free: 12.89 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.01937, allocations: 0.5625 MB / 0.7112 GB, free: 12.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.0195, allocations: 125.3 kB / 0.7113 GB, free: 12.16 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000103/0.01961, allocations: 25.94 kB / 0.7114 GB, free: 12.13 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.01968, allocations: 20.5 kB / 0.7114 GB, free: 12.11 MB / 426.8 MB Notification: Performance of SimCode: time 6.51e-07/0.01968, allocations: 0 / 0.7114 GB, free: 12.11 MB / 426.8 MB Notification: Performance of Templates: time 0.008193/0.02787, allocations: 3.311 MB / 0.7146 GB, free: 8.91 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.036627862136811]