Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.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.001842/0.001842, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002021/0.002021, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.753/1.753, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.48/1.48, allocations: 316.8 MB / 0.6144 GB, free: 93.42 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.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003939/0.003939, allocations: 81.09 kB / 0.775 GB, free: 15.06 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1807, allocations: 73.98 MB / 0.8472 GB, free: 5.211 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference): time 0.004418/0.1852, allocations: 2.293 MB / 0.8495 GB, free: 2.918 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3983/0.5835, allocations: 6.525 MB / 0.8559 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.5837, allocations: 1.031 kB / 0.8559 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.5839, allocations: 24.86 kB / 0.8559 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.5842, allocations: 80.03 kB / 0.856 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.5844, allocations: 55.42 kB / 0.856 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.5847, allocations: 260.6 kB / 0.8563 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.5848, allocations: 37.16 kB / 0.8563 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.585, allocations: 94.7 kB / 0.8564 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.5852, allocations: 100.6 kB / 0.8565 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.5852, allocations: 17.94 kB / 0.8565 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.111e-05/0.5853, allocations: 17.22 kB / 0.8565 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.5853, allocations: 38.41 kB / 0.8566 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.5854, allocations: 97.56 kB / 0.8566 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.5857, allocations: 196.5 kB / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5857, allocations: 0 / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5857, allocations: 3.938 kB / 0.8568 GB, free: 21.49 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.5857, allocations: 0 / 0.8568 GB, free: 21.49 MB / 490.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.0008808/0.5866, allocations: 497.7 kB / 0.8573 GB, free: 21.09 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5866, allocations: 8.875 kB / 0.8573 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.5867, allocations: 27.11 kB / 0.8573 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.5869, allocations: 188 kB / 0.8575 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.587, allocations: 8.359 kB / 0.8575 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.587, allocations: 21.95 kB / 0.8576 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.5874, allocations: 189.4 kB / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.5874, allocations: 1.344 kB / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.5874, allocations: 5.781 kB / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5874, allocations: 3.906 kB / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.5877, allocations: 149.2 kB / 0.8579 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.5885, allocations: 483.5 kB / 0.8584 GB, free: 20.51 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.589, allocations: 173.6 kB / 0.8585 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.5891, allocations: 97.03 kB / 0.8586 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.5892, allocations: 4.469 kB / 0.8586 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003368/0.5895, allocations: 224 kB / 0.8588 GB, free: 20.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.5895, allocations: 2.953 kB / 0.8588 GB, free: 20.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001401/0.5909, allocations: 0.7023 MB / 0.8595 GB, free: 19.91 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.5909, allocations: 134.9 kB / 0.8596 GB, free: 19.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.5911, allocations: 220.5 kB / 0.8599 GB, free: 19.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.5911, allocations: 30.55 kB / 0.8599 GB, free: 19.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.5912, allocations: 137.6 kB / 0.86 GB, free: 19.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.5912, allocations: 75.8 kB / 0.8601 GB, free: 19.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.5913, allocations: 51.78 kB / 0.8601 GB, free: 19.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.5914, allocations: 336.9 kB / 0.8605 GB, free: 19.14 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.5916, allocations: 145.1 kB / 0.8606 GB, free: 19.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.5918, allocations: 223.2 kB / 0.8608 GB, free: 18.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.5922, allocations: 278.5 kB / 0.8611 GB, free: 18.74 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5922, allocations: 4.531 kB / 0.8611 GB, free: 18.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005409/0.5927, allocations: 388.9 kB / 0.8614 GB, free: 18.55 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.5928, allocations: 62.53 kB / 0.8615 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5928, allocations: 7.703 kB / 0.8615 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.5928, allocations: 3.438 kB / 0.8615 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.593, allocations: 56.55 kB / 0.8616 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.593, allocations: 3.844 kB / 0.8616 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.5932, allocations: 19.72 kB / 0.8616 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.5932, allocations: 9.219 kB / 0.8616 GB, free: 18.48 MB / 490.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.0001628/0.5933, allocations: 176.5 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.5934, allocations: 23.58 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.5934, allocations: 30.7 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5934, allocations: 2.531 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5934, allocations: 0.7188 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5934, allocations: 5.094 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.5941, allocations: 0.538 MB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5941, allocations: 5.031 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5943, allocations: 36.25 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5943, allocations: 0 / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.5943, allocations: 10.62 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5943, allocations: 4.719 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5943, allocations: 0 / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.595, allocations: 0.493 MB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.5951, allocations: 24.45 kB / 0.8629 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.5951, allocations: 11.34 kB / 0.8629 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.5953, allocations: 15.97 kB / 0.8629 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.5953, allocations: 24.78 kB / 0.863 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.5954, allocations: 7.219 kB / 0.863 GB, free: 17.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001345/0.5955, allocations: 154.9 kB / 0.8631 GB, free: 17.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5955, allocations: 3.938 kB / 0.8631 GB, free: 17.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002924/0.5958, allocations: 59.22 kB / 0.8632 GB, free: 17.65 MB / 490.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.0001441/0.5959, allocations: 111.2 kB / 0.8633 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005231/0.5965, allocations: 382.5 kB / 0.8637 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5965, allocations: 0 / 0.8637 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.5967, allocations: 172.4 kB / 0.8638 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.5971, allocations: 66.5 kB / 0.8639 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.5983, allocations: 0.6852 MB / 0.8645 GB, free: 16.92 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.5984, allocations: 127.5 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5985, allocations: 25.64 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.5986, allocations: 23.12 kB / 0.8647 GB, free: 16.83 MB / 490.8 MB Notification: Performance of SimCode: time 6.31e-07/0.5986, allocations: 0 / 0.8647 GB, free: 16.83 MB / 490.8 MB Notification: Performance of Templates: time 0.00836/0.607, allocations: 3.627 MB / 0.8683 GB, free: 16.5 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.334536819020286]