Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.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.000712/0.000712, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009209/0.001633, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006916/0.0006916, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008705/0.001562, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.131, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.7774/0.7774, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02962/0.8071, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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.N06A_Antidepressants.N06AX03_Mianserin.Mianserin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.23e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin): time 0.00389/0.003913, allocations: 2.505 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006698/0.01061, allocations: 6.688 MB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.01085, allocations: 7.938 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.01096, allocations: 23.77 kB / 0.5535 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.01122, allocations: 87.28 kB / 0.5536 GB, free: 21.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.01145, allocations: 59.8 kB / 0.5537 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.01177, allocations: 266.6 kB / 0.5539 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.01191, allocations: 34.53 kB / 0.554 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.01216, allocations: 184.1 kB / 0.5541 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.01237, allocations: 83.78 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.01241, allocations: 16 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.01244, allocations: 16 kB / 0.5542 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.01248, allocations: 27.88 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.01256, allocations: 59.88 kB / 0.5543 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.01279, allocations: 147.5 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-05/0.0128, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01281, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.01283, allocations: 0 / 0.5545 GB, free: 20.34 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.0007363/0.01356, allocations: 0.4898 MB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.0136, allocations: 15.97 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.01366, allocations: 28.91 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.01386, allocations: 183 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.01389, allocations: 8.609 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.01392, allocations: 16.38 kB / 0.5552 GB, free: 19.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.01414, allocations: 163.4 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.01415, allocations: 0 / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.01417, allocations: 0 / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01417, allocations: 4 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.01429, allocations: 80.69 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.01482, allocations: 365 kB / 0.5558 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.01504, allocations: 120 kB / 0.5559 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.0151, allocations: 58.55 kB / 0.5559 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.01511, allocations: 4 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.0153, allocations: 192.4 kB / 0.5561 GB, free: 18.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.0153, allocations: 0 / 0.5561 GB, free: 18.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008835/0.01618, allocations: 0.5045 MB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.01623, allocations: 140.5 kB / 0.5568 GB, free: 17.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01635, allocations: 210 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.01637, allocations: 29.7 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.01641, allocations: 120.4 kB / 0.5571 GB, free: 17.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.01646, allocations: 67.47 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.01652, allocations: 59.16 kB / 0.5572 GB, free: 17.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.01657, allocations: 330.8 kB / 0.5575 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.01665, allocations: 96.94 kB / 0.5576 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-05/0.01674, allocations: 173.4 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.01687, allocations: 215.7 kB / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01687, allocations: 0 / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002166/0.01709, allocations: 266.2 kB / 0.5583 GB, free: 16.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.01713, allocations: 67.39 kB / 0.5583 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01714, allocations: 3.375 kB / 0.5583 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.01715, allocations: 4 kB / 0.5583 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.01738, allocations: 59.91 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01738, allocations: 7.984 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.0175, allocations: 15.94 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.01752, allocations: 12 kB / 0.5584 GB, free: 15.86 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.0001389/0.01766, allocations: 173.7 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.01769, allocations: 27.97 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.01773, allocations: 17.97 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.01773, allocations: 0 / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01774, allocations: 0 / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01774, allocations: 3.984 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.01808, allocations: 378.2 kB / 0.559 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01808, allocations: 3.938 kB / 0.559 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.01827, allocations: 43.97 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.01829, allocations: 15.86 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.0183, allocations: 0 / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.01831, allocations: 15.92 kB / 0.5591 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.01832, allocations: 0 / 0.5591 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01832, allocations: 0 / 0.5591 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.01858, allocations: 347.8 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.01861, allocations: 8 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2518/0.2704, allocations: 14.03 kB / 0.5594 GB, free: 79.59 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.2705, allocations: 17.66 kB / 0.5594 GB, free: 79.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.2705, allocations: 7.703 kB / 0.5594 GB, free: 79.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001027/0.2706, allocations: 64 kB / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2706, allocations: 0 / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002285/0.2708, allocations: 55.06 kB / 0.5596 GB, free: 79.59 MB / 410.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.0001063/0.2709, allocations: 97.59 kB / 0.5597 GB, free: 79.52 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2711, allocations: 305.3 kB / 0.5599 GB, free: 79.29 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.2711, allocations: 3.938 kB / 0.5599 GB, free: 79.29 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.2712, allocations: 144.4 kB / 0.5601 GB, free: 79.19 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.2715, allocations: 90.06 kB / 0.5602 GB, free: 79.19 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.2767, allocations: 0.5695 MB / 0.5607 GB, free: 78.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/0.2768, allocations: 80.42 kB / 0.5608 GB, free: 78.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.2769, allocations: 30.11 kB / 0.5608 GB, free: 78.86 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.2771, allocations: 117.1 kB / 0.5609 GB, free: 78.81 MB / 410.8 MB Notification: Performance of SimCode: time 2.064e-06/0.2771, allocations: 0 / 0.5609 GB, free: 78.81 MB / 410.8 MB Notification: Performance of Templates: time 0.006812/0.2839, allocations: 3.801 MB / 0.5647 GB, free: 78.62 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.17445938102901]