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.001144/0.001144, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001313/0.001313, allocations: 221.3 kB / 23.01 MB, free: 2.938 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.007/1.007, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.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.7568/0.7568, allocations: 312.3 MB / 0.6108 GB, free: 97.47 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_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.00233/0.00233, allocations: 74.83 kB / 0.7699 GB, free: 20.17 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1186, allocations: 73.99 MB / 0.8421 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference): time 0.002533/0.1211, allocations: 2.306 MB / 0.8444 GB, free: 8.008 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.1264, allocations: 6.536 MB / 0.8508 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1265, allocations: 0.625 kB / 0.8508 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.1266, allocations: 23.72 kB / 0.8508 GB, free: 1.445 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1268, allocations: 76.69 kB / 0.8509 GB, free: 1.371 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.127, allocations: 56.36 kB / 0.8509 GB, free: 1.316 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.1273, allocations: 255.2 kB / 0.8512 GB, free: 1.066 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1274, allocations: 36.58 kB / 0.8512 GB, free: 1.031 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1275, allocations: 92.17 kB / 0.8513 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.1277, allocations: 104.2 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1277, allocations: 20 kB / 0.8514 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.527e-05/0.1277, allocations: 16.62 kB / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.1278, allocations: 32.58 kB / 0.8514 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.1278, allocations: 95.58 kB / 0.8515 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.128, allocations: 195.8 kB / 0.8517 GB, free: 500 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.128, allocations: 4 kB / 0.8517 GB, free: 496 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.724e-06/0.128, allocations: 4.625 kB / 0.8517 GB, free: 492 kB / 474.8 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.128, allocations: 0 / 0.8517 GB, free: 492 kB / 474.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.0006706/0.1287, allocations: 0.49 MB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1287, allocations: 8.031 kB / 0.8522 GB, free: 15.94 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1288, allocations: 25.3 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.129, allocations: 191.8 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.129, allocations: 13.55 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.129, allocations: 12.56 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.1293, allocations: 187 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1293, allocations: 8.438 kB / 0.8526 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1293, allocations: 4 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1293, allocations: 8.438 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.1295, allocations: 143.4 kB / 0.8528 GB, free: 15.31 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.1301, allocations: 490.5 kB / 0.8532 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.1304, allocations: 173 kB / 0.8534 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1305, allocations: 99.08 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.1305, allocations: 4.5 kB / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.1307, allocations: 217.6 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.1307, allocations: 0.5938 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009399/0.1317, allocations: 0.7085 MB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1317, allocations: 133.1 kB / 0.8545 GB, free: 13.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1319, allocations: 216 kB / 0.8547 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1319, allocations: 34.47 kB / 0.8548 GB, free: 13.08 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.132, allocations: 140.4 kB / 0.8549 GB, free: 12.94 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.132, allocations: 68.11 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.1321, allocations: 53.7 kB / 0.855 GB, free: 12.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003466/0.1324, allocations: 343.3 kB / 0.8554 GB, free: 12.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1326, allocations: 141.6 kB / 0.8555 GB, free: 12.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1327, allocations: 221.8 kB / 0.8557 GB, free: 12.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2616/0.3943, allocations: 277.5 kB / 0.856 GB, free: 30.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3943, allocations: 2.375 kB / 0.856 GB, free: 30.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004801/0.3948, allocations: 390.4 kB / 0.8563 GB, free: 30.13 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.3949, allocations: 66.12 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3949, allocations: 1.844 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.3949, allocations: 3.688 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3951, allocations: 48.61 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3951, allocations: 13.06 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3952, allocations: 22.78 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.3952, allocations: 10.09 kB / 0.8565 GB, free: 30.07 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.0001942/0.3954, allocations: 175.1 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.3954, allocations: 24.89 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.3955, allocations: 25.09 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3955, allocations: 6.688 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3955, allocations: 0 / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3955, allocations: 3.141 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.3961, allocations: 0.54 MB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3961, allocations: 0 / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3962, allocations: 35.22 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3962, allocations: 3.031 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3962, allocations: 10.7 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3962, allocations: 1.938 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3962, allocations: 0.6562 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.3967, allocations: 0.4883 MB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3967, allocations: 25.48 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3967, allocations: 9.469 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.3968, allocations: 15.64 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.3969, allocations: 19.14 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3969, allocations: 7.953 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.397, allocations: 161.9 kB / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.397, allocations: 0 / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002053/0.3972, allocations: 58.72 kB / 0.8581 GB, free: 29.32 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 9.972e-05/0.3973, allocations: 114.3 kB / 0.8582 GB, free: 29.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.3977, allocations: 380.2 kB / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3977, allocations: 0 / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3978, allocations: 173.1 kB / 0.8587 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3981, allocations: 59.5 kB / 0.8588 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.3991, allocations: 0.7076 MB / 0.8594 GB, free: 28.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.3992, allocations: 125.2 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.3992, allocations: 23 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.3992, allocations: 0.5 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of Templates: time 0.004731/0.404, allocations: 2.942 MB / 0.8625 GB, free: 28.32 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.147030444815755]