Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_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.0009126/0.0009126, 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.001245/0.001245, 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.8925/0.8925, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6252/0.6252, 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_Tao2010_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.083e-06/1.083e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.375e-05, allocations: 10.16 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference): time 0.001974/0.001988, allocations: 2.697 MB / 0.7 GB, free: 7.688 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.005402, allocations: 6.615 MB / 0.7064 GB, free: 1.062 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.005484, allocations: 3.938 kB / 0.7064 GB, free: 1.059 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.005586, allocations: 35.64 kB / 0.7065 GB, free: 1.023 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.005753, allocations: 123 kB / 0.7066 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.00591, allocations: 75.78 kB / 0.7067 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.006113, allocations: 393.9 kB / 0.707 GB, free: 452 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.006232, allocations: 56.88 kB / 0.7071 GB, free: 400 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.006355, allocations: 203.5 kB / 0.7073 GB, free: 196 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.006505, allocations: 115.6 kB / 0.7074 GB, free: 80 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.00653, allocations: 28 kB / 0.7074 GB, free: 52 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.006556, allocations: 24 kB / 0.7074 GB, free: 28 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.006601, allocations: 63.83 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.006683, allocations: 111.7 kB / 0.7076 GB, free: 15.85 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.006901, allocations: 298.9 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.006903, allocations: 4 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006904, allocations: 0 / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.006908, allocations: 0 / 0.7079 GB, free: 15.56 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.0006545/0.007562, allocations: 0.5885 MB / 0.7085 GB, free: 14.92 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.007595, allocations: 12.03 kB / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.007645, allocations: 32.75 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.007843, allocations: 212.7 kB / 0.7087 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.007863, allocations: 20.75 kB / 0.7087 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.007892, allocations: 16.38 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.00819, allocations: 296.5 kB / 0.709 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.008205, allocations: 7.953 kB / 0.709 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.008222, allocations: 11.94 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.008227, allocations: 4 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.008483, allocations: 240.4 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.009173, allocations: 0.6678 MB / 0.7099 GB, free: 13.32 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.009495, allocations: 240.5 kB / 0.7102 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.009626, allocations: 152.4 kB / 0.7103 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.009636, allocations: 4 kB / 0.7103 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.009906, allocations: 365 kB / 0.7107 GB, free: 12.49 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.009907, allocations: 0 / 0.7107 GB, free: 12.49 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001127/0.01103, allocations: 1.08 MB / 0.7117 GB, free: 11.32 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.0111, allocations: 217.6 kB / 0.7119 GB, free: 11.05 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.01126, allocations: 245.9 kB / 0.7122 GB, free: 10.81 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.01128, allocations: 37.7 kB / 0.7122 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.01135, allocations: 156.8 kB / 0.7124 GB, free: 10.61 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.0114, allocations: 119 kB / 0.7125 GB, free: 10.49 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.01147, allocations: 70.2 kB / 0.7125 GB, free: 10.41 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.01154, allocations: 346.7 kB / 0.7129 GB, free: 10.06 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.01172, allocations: 207.9 kB / 0.7131 GB, free: 9.84 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.01193, allocations: 323.1 kB / 0.7134 GB, free: 9.461 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.01226, allocations: 431.1 kB / 0.7138 GB, free: 8.973 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01226, allocations: 0 / 0.7138 GB, free: 8.973 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004502/0.01271, allocations: 0.5498 MB / 0.7143 GB, free: 8.379 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.996e-05/0.01275, allocations: 93.03 kB / 0.7144 GB, free: 8.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01275, allocations: 4 kB / 0.7144 GB, free: 8.266 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01276, allocations: 4 kB / 0.7144 GB, free: 8.262 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.01292, allocations: 79.89 kB / 0.7145 GB, free: 8.184 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01293, allocations: 4 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01304, allocations: 23.98 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.01305, allocations: 16.16 kB / 0.7145 GB, free: 8.141 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.0001484/0.0132, allocations: 231 kB / 0.7148 GB, free: 7.895 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.01323, allocations: 31.81 kB / 0.7148 GB, free: 7.863 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.01326, allocations: 34.95 kB / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01327, allocations: 0 / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01327, allocations: 0 / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01327, allocations: 4 kB / 0.7148 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.01395, allocations: 0.7639 MB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.01396, allocations: 0 / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.01428, allocations: 51.95 kB / 0.7156 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01429, allocations: 4 kB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.01432, allocations: 12 kB / 0.7156 GB, free: 6.934 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01432, allocations: 3.938 kB / 0.7156 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01433, allocations: 7.875 kB / 0.7156 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.01526, allocations: 0.7269 MB / 0.7164 GB, free: 6.137 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.01529, allocations: 23.88 kB / 0.7164 GB, free: 6.113 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.01532, allocations: 19.92 kB / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.01542, allocations: 15.98 kB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.01549, allocations: 31.89 kB / 0.7164 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.0155, allocations: 16.12 kB / 0.7165 GB, free: 6.031 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001069/0.01561, allocations: 181.2 kB / 0.7166 GB, free: 5.855 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01561, allocations: 0 / 0.7166 GB, free: 5.855 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002094/0.01582, allocations: 84 kB / 0.7167 GB, free: 5.773 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.451e-05/0.01591, allocations: 134.2 kB / 0.7168 GB, free: 5.641 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.01635, allocations: 0.5645 MB / 0.7174 GB, free: 5.012 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01636, allocations: 0 / 0.7174 GB, free: 5.012 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.01655, allocations: 302.8 kB / 0.7177 GB, free: 4.68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.01686, allocations: 76.44 kB / 0.7177 GB, free: 4.605 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008373/0.01769, allocations: 0.8203 MB / 0.7186 GB, free: 3.742 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.909e-05/0.01778, allocations: 164.3 kB / 0.7187 GB, free: 3.559 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.01785, allocations: 32.5 kB / 0.7187 GB, free: 3.527 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.01785, allocations: 0 / 0.7187 GB, free: 3.527 MB / 426.8 MB Notification: Performance of Templates: time 0.1587/0.1766, allocations: 4.022 MB / 0.7227 GB, free: 36.87 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.388746161945164]