Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_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.001811/0.001811, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.001906/0.001906, allocations: 219.5 kB / 22.25 MB, free: 3.566 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.715/1.715, allocations: 230.6 MB / 256 MB, free: 9.605 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.4/1.4, allocations: 316.7 MB / 0.6144 GB, free: 93.41 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_Vistelle1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_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.00796/0.00796, allocations: 69.98 kB / 0.775 GB, free: 14.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2226, allocations: 74 MB / 0.8472 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference): time 0.004298/0.2269, allocations: 2.289 MB / 0.8495 GB, free: 2.84 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.36/0.5869, allocations: 6.526 MB / 0.8558 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.5872, allocations: 3.469 kB / 0.8558 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.5874, allocations: 23.11 kB / 0.8559 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.5876, allocations: 89.62 kB / 0.8559 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.5879, allocations: 51.19 kB / 0.856 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.5881, allocations: 255.3 kB / 0.8562 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.5883, allocations: 40.77 kB / 0.8563 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.5884, allocations: 94.64 kB / 0.8564 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.5886, allocations: 98.03 kB / 0.8565 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.5887, allocations: 18.12 kB / 0.8565 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.073e-05/0.5887, allocations: 15.12 kB / 0.8565 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.5888, allocations: 36.12 kB / 0.8565 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.5889, allocations: 99.98 kB / 0.8566 GB, free: 21.44 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.5891, allocations: 194.5 kB / 0.8568 GB, free: 21.41 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5891, allocations: 4.219 kB / 0.8568 GB, free: 21.41 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5891, allocations: 0.9688 kB / 0.8568 GB, free: 21.41 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.5891, allocations: 0 / 0.8568 GB, free: 21.41 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.0008267/0.59, allocations: 0.4914 MB / 0.8573 GB, free: 21.01 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.59, allocations: 12.83 kB / 0.8573 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.5901, allocations: 25.86 kB / 0.8573 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.5903, allocations: 180.8 kB / 0.8575 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5903, allocations: 9.109 kB / 0.8575 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.5903, allocations: 22.7 kB / 0.8575 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.5907, allocations: 188.7 kB / 0.8577 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5907, allocations: 0.6875 kB / 0.8577 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.5907, allocations: 8.172 kB / 0.8577 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.5908, allocations: 5.438 kB / 0.8577 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.5911, allocations: 150.4 kB / 0.8579 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.5918, allocations: 480.9 kB / 0.8583 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.5923, allocations: 175.7 kB / 0.8585 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5925, allocations: 93.08 kB / 0.8586 GB, free: 20.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.5925, allocations: 11.39 kB / 0.8586 GB, free: 20.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.5928, allocations: 219.9 kB / 0.8588 GB, free: 20.18 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.5928, allocations: 1.969 kB / 0.8588 GB, free: 20.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001337/0.5942, allocations: 0.6996 MB / 0.8595 GB, free: 19.82 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.5942, allocations: 139.4 kB / 0.8596 GB, free: 19.66 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.5944, allocations: 215.8 kB / 0.8598 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5944, allocations: 35.72 kB / 0.8599 GB, free: 19.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.5945, allocations: 131 kB / 0.86 GB, free: 19.43 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.5945, allocations: 78.58 kB / 0.8601 GB, free: 19.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.5946, allocations: 51.14 kB / 0.8601 GB, free: 19.37 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.5947, allocations: 340.7 kB / 0.8604 GB, free: 19.05 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.5949, allocations: 142.4 kB / 0.8606 GB, free: 18.98 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.5951, allocations: 226.5 kB / 0.8608 GB, free: 18.81 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.5955, allocations: 281.4 kB / 0.8611 GB, free: 18.64 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5955, allocations: 0 / 0.8611 GB, free: 18.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005367/0.596, allocations: 384.6 kB / 0.8614 GB, free: 18.46 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.596, allocations: 66.41 kB / 0.8615 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5961, allocations: 5.844 kB / 0.8615 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5961, allocations: 4.344 kB / 0.8615 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.5963, allocations: 51.7 kB / 0.8615 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5963, allocations: 2.969 kB / 0.8615 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.5964, allocations: 19.98 kB / 0.8616 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.5965, allocations: 16.5 kB / 0.8616 GB, free: 18.39 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.0001582/0.5966, allocations: 177.8 kB / 0.8617 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.5967, allocations: 24.17 kB / 0.8618 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.5967, allocations: 27.67 kB / 0.8618 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5967, allocations: 7.375 kB / 0.8618 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5967, allocations: 2.562 kB / 0.8618 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5967, allocations: 0.9062 kB / 0.8618 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.5974, allocations: 0.5358 MB / 0.8623 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5974, allocations: 3.938 kB / 0.8623 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.5976, allocations: 43 kB / 0.8624 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5976, allocations: 1.312 kB / 0.8624 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.5976, allocations: 10.5 kB / 0.8624 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5976, allocations: 3.938 kB / 0.8624 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5976, allocations: 2.281 kB / 0.8624 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.5982, allocations: 494 kB / 0.8629 GB, free: 17.66 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.5983, allocations: 21.05 kB / 0.8629 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.5983, allocations: 7.266 kB / 0.8629 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.5985, allocations: 18.25 kB / 0.8629 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.5986, allocations: 20.23 kB / 0.8629 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.5986, allocations: 7.938 kB / 0.8629 GB, free: 17.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001204/0.5987, allocations: 162.9 kB / 0.8631 GB, free: 17.56 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5987, allocations: 0.5 kB / 0.8631 GB, free: 17.56 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002995/0.599, allocations: 57.69 kB / 0.8631 GB, free: 17.56 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.0001163/0.5991, allocations: 111.8 kB / 0.8633 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005365/0.5997, allocations: 379.3 kB / 0.8636 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5997, allocations: 0.5625 kB / 0.8636 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.5999, allocations: 173.5 kB / 0.8638 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.6004, allocations: 73.36 kB / 0.8638 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.6016, allocations: 0.6864 MB / 0.8645 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.6017, allocations: 127.8 kB / 0.8646 GB, free: 16.74 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.6018, allocations: 19.58 kB / 0.8647 GB, free: 16.74 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.6019, allocations: 21.14 kB / 0.8647 GB, free: 16.73 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.6019, allocations: 4 kB / 0.8647 GB, free: 16.73 MB / 490.8 MB Notification: Performance of Templates: time 0.009351/0.6113, allocations: 3.633 MB / 0.8682 GB, free: 16.41 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone_Vistelle1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.690978890983388]