Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.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.006126/0.006126, 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.002801/0.002801, allocations: 173.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.701/1.701, allocations: 177.1 MB / 202.8 MB, free: 5.77 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.296/1.296, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.573e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam): time 0.003285/0.003311, allocations: 3.021 MB / 0.7028 GB, free: 5.508 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006022/0.009332, allocations: 6.647 MB / 0.7093 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.009583, allocations: 0 / 0.7093 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.009765, allocations: 39.58 kB / 0.7094 GB, free: 14.81 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.01014, allocations: 130.9 kB / 0.7095 GB, free: 14.68 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.01046, allocations: 83.84 kB / 0.7096 GB, free: 14.6 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.01101, allocations: 429.8 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.01121, allocations: 73.94 kB / 0.7101 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.01152, allocations: 227.5 kB / 0.7103 GB, free: 13.89 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.01207, allocations: 123.6 kB / 0.7104 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.01213, allocations: 32 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.01219, allocations: 35.94 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.01227, allocations: 63.7 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.01245, allocations: 131.7 kB / 0.7106 GB, free: 13.51 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.01293, allocations: 355 kB / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01294, allocations: 0 / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01294, allocations: 0 / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01295, allocations: 0 / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001218/0.01416, allocations: 0.6115 MB / 0.7116 GB, free: 12.5 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.0142, allocations: 8.031 kB / 0.7116 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.01429, allocations: 36.7 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.01466, allocations: 228.7 kB / 0.7118 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.01468, allocations: 12.88 kB / 0.7119 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.01474, allocations: 28.33 kB / 0.7119 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.01534, allocations: 314.1 kB / 0.7122 GB, free: 11.84 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.01537, allocations: 4 kB / 0.7122 GB, free: 11.83 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.0154, allocations: 4 kB / 0.7122 GB, free: 11.83 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01541, allocations: 4 kB / 0.7122 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.01596, allocations: 252.2 kB / 0.7124 GB, free: 11.57 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.01719, allocations: 0.6504 MB / 0.7131 GB, free: 10.88 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.01788, allocations: 278 kB / 0.7133 GB, free: 10.59 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.01817, allocations: 160.4 kB / 0.7135 GB, free: 10.41 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.01819, allocations: 3.938 kB / 0.7135 GB, free: 10.41 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005569/0.01874, allocations: 363.5 kB / 0.7138 GB, free: 10 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.01874, allocations: 0 / 0.7138 GB, free: 10 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002333/0.02108, allocations: 1.139 MB / 0.7149 GB, free: 8.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.02125, allocations: 221.6 kB / 0.7152 GB, free: 8.504 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.02158, allocations: 253.9 kB / 0.7154 GB, free: 8.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.02162, allocations: 41.69 kB / 0.7154 GB, free: 8.203 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.02176, allocations: 152.9 kB / 0.7156 GB, free: 8.047 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.02188, allocations: 115.1 kB / 0.7157 GB, free: 7.934 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.02201, allocations: 78.19 kB / 0.7158 GB, free: 7.852 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.02221, allocations: 346.7 kB / 0.7161 GB, free: 7.504 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.02259, allocations: 219.8 kB / 0.7163 GB, free: 7.27 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.02305, allocations: 326.9 kB / 0.7166 GB, free: 6.883 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.024, allocations: 454.1 kB / 0.7171 GB, free: 6.371 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.024, allocations: 0 / 0.7171 GB, free: 6.371 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009785/0.02498, allocations: 0.5846 MB / 0.7176 GB, free: 5.742 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.02507, allocations: 96.22 kB / 0.7177 GB, free: 5.633 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.02507, allocations: 4 kB / 0.7177 GB, free: 5.629 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.0251, allocations: 4 kB / 0.7177 GB, free: 5.625 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.02543, allocations: 80.17 kB / 0.7178 GB, free: 5.547 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.02544, allocations: 11.98 kB / 0.7178 GB, free: 5.535 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.02567, allocations: 23.98 kB / 0.7178 GB, free: 5.512 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.02571, allocations: 16 kB / 0.7179 GB, free: 5.496 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0003071/0.02602, allocations: 236.7 kB / 0.7181 GB, free: 5.246 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.02607, allocations: 31.81 kB / 0.7181 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.887e-05/0.02615, allocations: 38.95 kB / 0.7181 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.02617, allocations: 8 kB / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.02618, allocations: 0 / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.02618, allocations: 0 / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.02753, allocations: 0.8211 MB / 0.719 GB, free: 4.289 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.02754, allocations: 7.984 kB / 0.719 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.02784, allocations: 51.91 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02785, allocations: 0 / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.02788, allocations: 19.98 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02788, allocations: 4 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02788, allocations: 0 / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.02916, allocations: 0.7601 MB / 0.7198 GB, free: 3.395 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.02928, allocations: 59.77 kB / 0.7198 GB, free: 3.336 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.29e-05/0.02935, allocations: 12 kB / 0.7198 GB, free: 3.324 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.02956, allocations: 15.98 kB / 0.7199 GB, free: 3.309 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.02967, allocations: 27.95 kB / 0.7199 GB, free: 3.281 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.0297, allocations: 19.92 kB / 0.7199 GB, free: 3.262 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002171/0.02992, allocations: 189.2 kB / 0.7201 GB, free: 3.078 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02992, allocations: 0 / 0.7201 GB, free: 3.078 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2093/0.2392, allocations: 82.48 kB / 0.7202 GB, free: 37.12 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.000168/0.2394, allocations: 127.2 kB / 0.7203 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000812/0.2402, allocations: 0.5843 MB / 0.7209 GB, free: 36.7 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2402, allocations: 0 / 0.7209 GB, free: 36.7 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.2405, allocations: 319.6 kB / 0.7212 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.2411, allocations: 86.12 kB / 0.7212 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2425, allocations: 0.8623 MB / 0.7221 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2427, allocations: 167.4 kB / 0.7222 GB, free: 35.99 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.2428, allocations: 36.78 kB / 0.7223 GB, free: 35.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.2429, allocations: 32.09 kB / 0.7223 GB, free: 35.97 MB / 426.8 MB Notification: Performance of SimCode: time 5.51e-07/0.2429, allocations: 2.438 kB / 0.7223 GB, free: 35.97 MB / 426.8 MB Notification: Performance of Templates: time 0.009994/0.2529, allocations: 4.832 MB / 0.727 GB, free: 35.51 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.850788054056466]