Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.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.002568/0.002568, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002913/0.002913, allocations: 215.6 kB / 22.25 MB, free: 3.559 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.819/1.819, allocations: 230.6 MB / 256 MB, free: 9.656 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.447/1.447, allocations: 316.7 MB / 0.6144 GB, free: 92.92 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.N06AG03_Toloxatone.Toloxatone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone") [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.003858/0.003858, allocations: 77.59 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1908, allocations: 73.99 MB / 0.8472 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone): time 0.004402/0.1952, allocations: 2.304 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4213/0.6165, allocations: 6.53 MB / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.6168, allocations: 0 / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.6169, allocations: 28.25 kB / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.6172, allocations: 82.67 kB / 0.856 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.6174, allocations: 50.98 kB / 0.856 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.6177, allocations: 252.6 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.6178, allocations: 38.8 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.6179, allocations: 105.7 kB / 0.8564 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.6181, allocations: 90.69 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.6182, allocations: 20.91 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.927e-05/0.6182, allocations: 17.81 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.6182, allocations: 38.95 kB / 0.8566 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.68e-05/0.6183, allocations: 96.14 kB / 0.8567 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.6186, allocations: 198.1 kB / 0.8568 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6186, allocations: 2.891 kB / 0.8568 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.132e-06/0.6186, allocations: 0 / 0.8568 GB, free: 21.73 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.6186, allocations: 0 / 0.8568 GB, free: 21.73 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.0007266/0.6193, allocations: 496.3 kB / 0.8573 GB, free: 21.33 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.6194, allocations: 11.42 kB / 0.8573 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.6194, allocations: 23.89 kB / 0.8574 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.6196, allocations: 186.6 kB / 0.8575 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.6196, allocations: 10.48 kB / 0.8575 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.6197, allocations: 23.16 kB / 0.8576 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.62, allocations: 187.9 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.62, allocations: 2.469 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.6201, allocations: 7.078 kB / 0.8578 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6201, allocations: 1.594 kB / 0.8578 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.6204, allocations: 152.6 kB / 0.8579 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.6211, allocations: 480.8 kB / 0.8584 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.6215, allocations: 173.1 kB / 0.8585 GB, free: 20.69 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.6216, allocations: 96.3 kB / 0.8586 GB, free: 20.65 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.6216, allocations: 2.844 kB / 0.8586 GB, free: 20.65 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.6219, allocations: 230.5 kB / 0.8588 GB, free: 20.5 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.6219, allocations: 0 / 0.8588 GB, free: 20.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001246/0.6232, allocations: 0.7042 MB / 0.8595 GB, free: 20.14 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.6232, allocations: 137.4 kB / 0.8597 GB, free: 19.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.6235, allocations: 218.2 kB / 0.8599 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.6235, allocations: 36.09 kB / 0.8599 GB, free: 19.85 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.6236, allocations: 129 kB / 0.86 GB, free: 19.76 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.6236, allocations: 72.25 kB / 0.8601 GB, free: 19.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.6237, allocations: 56.05 kB / 0.8601 GB, free: 19.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.6238, allocations: 336.5 kB / 0.8605 GB, free: 19.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.624, allocations: 144.5 kB / 0.8606 GB, free: 19.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.6242, allocations: 222.2 kB / 0.8608 GB, free: 19.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.6246, allocations: 284 kB / 0.8611 GB, free: 18.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6247, allocations: 3.188 kB / 0.8611 GB, free: 18.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005493/0.6252, allocations: 388 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.6252, allocations: 60.52 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6253, allocations: 6.562 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.6253, allocations: 4.531 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.6255, allocations: 55.89 kB / 0.8616 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.6255, allocations: 2.844 kB / 0.8616 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.6257, allocations: 24.44 kB / 0.8616 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.6257, allocations: 7.406 kB / 0.8616 GB, free: 18.72 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.0001802/0.6259, allocations: 181.9 kB / 0.8618 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.6259, allocations: 25.33 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.626, allocations: 30.91 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.626, allocations: 0 / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.626, allocations: 0 / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.626, allocations: 1.438 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007207/0.6267, allocations: 0.5387 MB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6267, allocations: 0.5625 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.6269, allocations: 37.73 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.6269, allocations: 0 / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.6269, allocations: 4.844 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6269, allocations: 17.58 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6269, allocations: 0 / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.6276, allocations: 499.9 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.6277, allocations: 24.64 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.6277, allocations: 7.469 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6279, allocations: 13.03 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.628, allocations: 24.27 kB / 0.863 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.628, allocations: 5.062 kB / 0.863 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000131/0.6281, allocations: 163 kB / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6281, allocations: 2.531 kB / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000293/0.6284, allocations: 54.16 kB / 0.8632 GB, free: 17.89 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.0001234/0.6285, allocations: 115.9 kB / 0.8633 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00052/0.629, allocations: 377.8 kB / 0.8637 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.629, allocations: 0.6875 kB / 0.8637 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.6293, allocations: 169.8 kB / 0.8638 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.6298, allocations: 78.19 kB / 0.8639 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.6312, allocations: 0.6779 MB / 0.8646 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.6314, allocations: 130.3 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.6315, allocations: 20.58 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.6316, allocations: 22.06 kB / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of SimCode: time 6.31e-07/0.6316, allocations: 0 / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of Templates: time 0.00904/0.6406, allocations: 3.624 MB / 0.8683 GB, free: 16.74 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.666940836934373]