Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA.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.0006705/0.0006705, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009177/0.001588, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006754/0.0006754, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008939/0.001569, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.121, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.8602/0.8602, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03389/0.8941, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5447 GB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.398e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA): time 0.002455/0.002479, allocations: 2.495 MB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003493, allocations: 0.6311 MB / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.003596, allocations: 0 / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.409e-05/0.003681, allocations: 31.7 kB / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.003844, allocations: 87.27 kB / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.004018, allocations: 51.88 kB / 0.5479 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.004288, allocations: 262.6 kB / 0.5481 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.004432, allocations: 34.55 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.004659, allocations: 184 kB / 0.5483 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.004865, allocations: 83.73 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.004897, allocations: 16 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.817e-05/0.004925, allocations: 16 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.004962, allocations: 31.88 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.005031, allocations: 71.86 kB / 0.5486 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.00522, allocations: 131.5 kB / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-05/0.005235, allocations: 3.984 kB / 0.5487 GB, free: 25.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.005237, allocations: 0 / 0.5487 GB, free: 25.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.005247, allocations: 0 / 0.5487 GB, free: 25.95 MB / 410.7 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.0005925/0.00584, allocations: 0.4898 MB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.00587, allocations: 11.98 kB / 0.5492 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.005914, allocations: 28.92 kB / 0.5492 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.006088, allocations: 170.1 kB / 0.5494 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.00611, allocations: 12.61 kB / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.006134, allocations: 12.38 kB / 0.5494 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.006307, allocations: 167 kB / 0.5495 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006317, allocations: 3.953 kB / 0.5495 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.006328, allocations: 8 kB / 0.5496 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.006332, allocations: 0 / 0.5496 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.006408, allocations: 74.34 kB / 0.5496 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.006791, allocations: 372.9 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.006961, allocations: 108.2 kB / 0.5501 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.006996, allocations: 58.55 kB / 0.5501 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.007005, allocations: 4 kB / 0.5501 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.007144, allocations: 188.4 kB / 0.5503 GB, free: 24.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.714e-06/0.007146, allocations: 0 / 0.5503 GB, free: 24.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005523/0.007698, allocations: 0.5159 MB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.007735, allocations: 174.1 kB / 0.551 GB, free: 23.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.007817, allocations: 187.2 kB / 0.5512 GB, free: 23.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.007829, allocations: 33.7 kB / 0.5512 GB, free: 23.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.007862, allocations: 116.4 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.007891, allocations: 79.39 kB / 0.5514 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.007938, allocations: 51.17 kB / 0.5514 GB, free: 22.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.23e-05/0.00797, allocations: 342.7 kB / 0.5518 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.00802, allocations: 93 kB / 0.5519 GB, free: 22.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-05/0.008081, allocations: 181.4 kB / 0.552 GB, free: 22.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/0.008181, allocations: 207.6 kB / 0.5522 GB, free: 21.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008183, allocations: 0 / 0.5522 GB, free: 21.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001609/0.008343, allocations: 275.3 kB / 0.5525 GB, free: 21.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.008372, allocations: 66.22 kB / 0.5526 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008377, allocations: 0 / 0.5526 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.008388, allocations: 4 kB / 0.5526 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.008547, allocations: 63.89 kB / 0.5526 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.008551, allocations: 7.938 kB / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.008629, allocations: 15.98 kB / 0.5526 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.00864, allocations: 15.41 kB / 0.5527 GB, free: 21.45 MB / 410.7 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.0001025/0.008743, allocations: 169.7 kB / 0.5528 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.008765, allocations: 23.98 kB / 0.5528 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.008793, allocations: 21.95 kB / 0.5529 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.008794, allocations: 0 / 0.5529 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.008797, allocations: 0 / 0.5529 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008802, allocations: 7.922 kB / 0.5529 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.009047, allocations: 374.3 kB / 0.5532 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.009048, allocations: 4 kB / 0.5532 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.009224, allocations: 43.95 kB / 0.5533 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.009251, allocations: 15.86 kB / 0.5533 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009254, allocations: 3.938 kB / 0.5533 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.00927, allocations: 11.94 kB / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009272, allocations: 0 / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009273, allocations: 0 / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.009482, allocations: 345 kB / 0.5536 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.009517, allocations: 8 kB / 0.5536 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.009622, allocations: 15.98 kB / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.009677, allocations: 23.91 kB / 0.5537 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.009687, allocations: 7.984 kB / 0.5537 GB, free: 20.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.009733, allocations: 59.09 kB / 0.5537 GB, free: 20.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009733, allocations: 0 / 0.5537 GB, free: 20.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.009927, allocations: 52 kB / 0.5538 GB, free: 20.2 MB / 410.7 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 8.44e-05/0.01001, allocations: 96.34 kB / 0.5539 GB, free: 20.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.01019, allocations: 315.8 kB / 0.5542 GB, free: 19.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.0102, allocations: 4 kB / 0.5542 GB, free: 19.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.01029, allocations: 153.8 kB / 0.5543 GB, free: 19.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.01057, allocations: 0.5166 MB / 0.5548 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/0.01994, allocations: 0.5464 MB / 0.5554 GB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.02, allocations: 80.31 kB / 0.5554 GB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.02016, allocations: 25.98 kB / 0.5555 GB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.02036, allocations: 123.3 kB / 0.5556 GB, free: 18.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.714e-06/0.02037, allocations: 0 / 0.5556 GB, free: 18.14 MB / 410.7 MB Notification: Performance of Templates: time 0.2926/0.313, allocations: 3.758 MB / 0.5593 GB, free: 84.75 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.806570499204099]