Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.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.001133/0.001133, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001282/0.001282, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.937/0.937, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.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.6196/0.6196, allocations: 291.1 MB / 0.5382 GB, free: 51.91 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.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.554e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil): time 0.002051/0.002067, allocations: 2.714 MB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.005588, allocations: 6.608 MB / 0.7065 GB, free: 1.035 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.005682, allocations: 8 kB / 0.7065 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.005794, allocations: 35.58 kB / 0.7065 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.005964, allocations: 127 kB / 0.7066 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.006137, allocations: 75.83 kB / 0.7067 GB, free: 0.793 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.006345, allocations: 389.9 kB / 0.7071 GB, free: 420 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.006471, allocations: 56.88 kB / 0.7071 GB, free: 368 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.006597, allocations: 203.5 kB / 0.7073 GB, free: 164 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.006762, allocations: 127.6 kB / 0.7074 GB, free: 36 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.006789, allocations: 24 kB / 0.7075 GB, free: 12 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.093e-05/0.00683, allocations: 24.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.006863, allocations: 51.72 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.006955, allocations: 119.7 kB / 0.7077 GB, free: 15.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.007205, allocations: 295.1 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.007206, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd: time 7.52e-07/0.007207, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.007211, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007659/0.007977, allocations: 0.6003 MB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.008013, allocations: 12.03 kB / 0.7085 GB, free: 14.87 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.00807, allocations: 32.75 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.00827, allocations: 216.7 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.008287, allocations: 12.75 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.008319, allocations: 24.38 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.008625, allocations: 288.7 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.00864, allocations: 7.953 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.008658, allocations: 11.98 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.008664, allocations: 4 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.008929, allocations: 232.4 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/0.009672, allocations: 0.6718 MB / 0.71 GB, free: 13.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.01002, allocations: 244.2 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.01015, allocations: 152.4 kB / 0.7104 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.01016, allocations: 0 / 0.7104 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.01046, allocations: 362.2 kB / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.353e-06/0.01046, allocations: 4 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001245/0.01171, allocations: 1.088 MB / 0.7118 GB, free: 11.28 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.01178, allocations: 221.6 kB / 0.712 GB, free: 11.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01195, allocations: 245.9 kB / 0.7122 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01197, allocations: 33.7 kB / 0.7122 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.01205, allocations: 160.8 kB / 0.7124 GB, free: 10.56 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.0121, allocations: 119 kB / 0.7125 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.01217, allocations: 70.2 kB / 0.7126 GB, free: 10.37 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.01226, allocations: 346.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.01245, allocations: 207.9 kB / 0.7131 GB, free: 9.797 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.01266, allocations: 315.2 kB / 0.7134 GB, free: 9.43 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.01299, allocations: 431 kB / 0.7138 GB, free: 8.941 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.013, allocations: 4 kB / 0.7138 GB, free: 8.938 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004641/0.01346, allocations: 0.5497 MB / 0.7144 GB, free: 8.344 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.0135, allocations: 89.09 kB / 0.7144 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01351, allocations: 4 kB / 0.7145 GB, free: 8.234 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01352, allocations: 4 kB / 0.7145 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.01369, allocations: 76.23 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.0137, allocations: 15.94 kB / 0.7145 GB, free: 8.141 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01381, allocations: 19.98 kB / 0.7146 GB, free: 8.121 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.01383, allocations: 16 kB / 0.7146 GB, free: 8.105 MB / 426.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001575/0.01399, allocations: 219.1 kB / 0.7148 GB, free: 7.867 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.01401, allocations: 31.81 kB / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.01405, allocations: 30.97 kB / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01405, allocations: 4 kB / 0.7149 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01406, allocations: 4 kB / 0.7149 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01406, allocations: 3.984 kB / 0.7149 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.01474, allocations: 0.7639 MB / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01474, allocations: 0 / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.01488, allocations: 55.89 kB / 0.7157 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01489, allocations: 0 / 0.7157 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.0149, allocations: 8 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.0149, allocations: 7.938 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01491, allocations: 7.938 kB / 0.7157 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.01549, allocations: 0.7268 MB / 0.7164 GB, free: 6.105 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.01552, allocations: 23.81 kB / 0.7164 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.01556, allocations: 16.19 kB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.01565, allocations: 15.98 kB / 0.7164 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.01572, allocations: 35.88 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01573, allocations: 15.94 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001075/0.01584, allocations: 181.2 kB / 0.7167 GB, free: 5.824 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01584, allocations: 0 / 0.7167 GB, free: 5.824 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002116/0.01605, allocations: 88 kB / 0.7167 GB, free: 5.738 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.466e-05/0.01615, allocations: 126.9 kB / 0.7169 GB, free: 5.609 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.0166, allocations: 0.5576 MB / 0.7174 GB, free: 4.984 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.0166, allocations: 4.062 kB / 0.7174 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.01681, allocations: 305.5 kB / 0.7177 GB, free: 4.648 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.01712, allocations: 88.36 kB / 0.7178 GB, free: 4.562 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.01801, allocations: 0.8125 MB / 0.7186 GB, free: 3.707 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.01811, allocations: 160.3 kB / 0.7187 GB, free: 3.527 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.01817, allocations: 32.48 kB / 0.7188 GB, free: 3.496 MB / 426.8 MB Notification: Performance of SimCode: time 5.61e-07/0.01817, allocations: 0 / 0.7188 GB, free: 3.496 MB / 426.8 MB Notification: Performance of Templates: time 0.176/0.1942, allocations: 4.022 MB / 0.7227 GB, free: 36.95 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.698158720508218]