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.0009184/0.0009184, allocations: 91.55 kB / 20.2 MB, free: 4.348 MB / 18.57 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.0009118/0.0009118, allocations: 169 kB / 23.5 MB, free: 1.047 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 0.893/0.893, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.58/1.58, allocations: 273.5 MB / 0.5213 GB, free: 14.85 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.863e-06/1.863e-06, allocations: 0 / 0.6472 GB, free: 38.61 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.425e-05, allocations: 2.312 kB / 0.6472 GB, free: 38.61 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_SMA): time 0.00331/0.003334, allocations: 2.466 MB / 0.6496 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.004146, allocations: 0.6032 MB / 0.6502 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.004225, allocations: 2.344 kB / 0.6502 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.004335, allocations: 27.94 kB / 0.6502 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.004478, allocations: 80.19 kB / 0.6503 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.004667, allocations: 51.3 kB / 0.6503 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.004907, allocations: 243.2 kB / 0.6506 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.005027, allocations: 40.08 kB / 0.6506 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.005162, allocations: 129.5 kB / 0.6507 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.005343, allocations: 81.72 kB / 0.6508 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.005372, allocations: 15.34 kB / 0.6508 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.005398, allocations: 17.84 kB / 0.6508 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.005427, allocations: 36.62 kB / 0.6509 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.005501, allocations: 75.17 kB / 0.6509 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.005677, allocations: 141.5 kB / 0.6511 GB, free: 36.22 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.00568, allocations: 3.328 kB / 0.6511 GB, free: 36.22 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005681, allocations: 1.375 kB / 0.6511 GB, free: 36.22 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.005687, allocations: 0 / 0.6511 GB, free: 36.22 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005497/0.006237, allocations: 0.5656 MB / 0.6516 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.006273, allocations: 9.75 kB / 0.6516 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.006333, allocations: 32.11 kB / 0.6517 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.006479, allocations: 174.5 kB / 0.6518 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.006492, allocations: 10.25 kB / 0.6518 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.006519, allocations: 19.97 kB / 0.6519 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.006721, allocations: 189.3 kB / 0.652 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.006732, allocations: 1.719 kB / 0.652 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.006745, allocations: 6.234 kB / 0.6521 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.006753, allocations: 3.281 kB / 0.6521 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.006854, allocations: 83.7 kB / 0.6521 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.007333, allocations: 0.5563 MB / 0.6527 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.007474, allocations: 126 kB / 0.6528 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.007528, allocations: 69.64 kB / 0.6529 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.007538, allocations: 3.625 kB / 0.6529 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.007689, allocations: 196.6 kB / 0.6531 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.007691, allocations: 1.281 kB / 0.6531 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.000668/0.008359, allocations: 0.6082 MB / 0.6536 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.008388, allocations: 139.5 kB / 0.6538 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.008506, allocations: 244.5 kB / 0.654 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.008521, allocations: 32.08 kB / 0.654 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.008569, allocations: 178.5 kB / 0.6542 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.008602, allocations: 76.09 kB / 0.6543 GB, free: 33.51 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.008657, allocations: 55.66 kB / 0.6543 GB, free: 33.47 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.008712, allocations: 0.5032 MB / 0.6548 GB, free: 32.97 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.008786, allocations: 108.2 kB / 0.6549 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.008879, allocations: 216 kB / 0.6551 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.00908, allocations: 343 kB / 0.6555 GB, free: 32.35 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009082, allocations: 3.625 kB / 0.6555 GB, free: 32.35 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002472/0.009329, allocations: 334.5 kB / 0.6558 GB, free: 32.13 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.009355, allocations: 67.81 kB / 0.6559 GB, free: 32.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.00936, allocations: 3.906 kB / 0.6559 GB, free: 32.07 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.009375, allocations: 1.844 kB / 0.6559 GB, free: 32.07 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.009531, allocations: 53.52 kB / 0.6559 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.009545, allocations: 6.938 kB / 0.6559 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.009626, allocations: 13.66 kB / 0.6559 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.009645, allocations: 20.84 kB / 0.656 GB, free: 32.05 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,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 (33): * Single equations (assignments): 31 * 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.0001379/0.009783, allocations: 231.9 kB / 0.6562 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.009815, allocations: 29.38 kB / 0.6562 GB, free: 31.82 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.009843, allocations: 24.77 kB / 0.6562 GB, free: 31.8 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.009847, allocations: 1.094 kB / 0.6562 GB, free: 31.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.009848, allocations: 3.75 kB / 0.6562 GB, free: 31.8 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.009868, allocations: 21.03 kB / 0.6563 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.009893, allocations: 11.38 kB / 0.6563 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.009944, allocations: 14.88 kB / 0.6563 GB, free: 31.78 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.009996, allocations: 17.47 kB / 0.6563 GB, free: 31.78 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002802/0.01028, allocations: 374 kB / 0.6566 GB, free: 31.53 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003215/0.0106, allocations: 0.5719 MB / 0.6572 GB, free: 31.07 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.46e-05/0.01068, allocations: 91.94 kB / 0.6573 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.347e-05/0.01076, allocations: 179.4 kB / 0.6575 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of Backend: time 2.01e-07/0.01076, allocations: 0.5625 kB / 0.6575 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.01118, allocations: 353.2 kB / 0.6578 GB, free: 30.59 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001497/0.01267, allocations: 1.351 MB / 0.6591 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of Templates: time 0.004743/0.01742, allocations: 3.344 MB / 0.6624 GB, free: 29.21 MB / 0.5262 GB " [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: 4.786431604996324]