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.0007654/0.0007654, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009716/0.001737, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001059/0.001059, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002343, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 0.9466/0.9466, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09004/1.037, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.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.8729/0.8729, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03126/0.9042, allocations: 21.04 MB / 0.5432 GB, free: 31.5 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.784e-06/1.784e-06, allocations: 0 / 0.5446 GB, free: 30.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.093e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference): time 0.002652/0.002673, allocations: 2.938 MB / 0.5474 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004715/0.007387, allocations: 6.778 MB / 0.5541 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.007539, allocations: 7.938 kB / 0.5541 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.666e-05/0.007615, allocations: 35.62 kB / 0.5541 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.0078, allocations: 127 kB / 0.5542 GB, free: 20.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.007949, allocations: 79.77 kB / 0.5543 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.008179, allocations: 393.9 kB / 0.5547 GB, free: 19.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.008303, allocations: 58.86 kB / 0.5547 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.008511, allocations: 250.5 kB / 0.555 GB, free: 19.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.008683, allocations: 127.6 kB / 0.5551 GB, free: 19.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.008716, allocations: 24 kB / 0.5551 GB, free: 19.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.974e-05/0.008745, allocations: 24 kB / 0.5551 GB, free: 19.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.008777, allocations: 39.81 kB / 0.5552 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.008846, allocations: 99.81 kB / 0.5553 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.009035, allocations: 199.3 kB / 0.5555 GB, free: 18.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.009046, allocations: 3.938 kB / 0.5555 GB, free: 18.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.009047, allocations: 0 / 0.5555 GB, free: 18.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.009062, allocations: 0 / 0.5555 GB, free: 18.91 MB / 410.7 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.0006268/0.009689, allocations: 0.6243 MB / 0.5561 GB, free: 18.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.009719, allocations: 11.89 kB / 0.5561 GB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.009771, allocations: 44.89 kB / 0.5561 GB, free: 18.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.009934, allocations: 193.5 kB / 0.5563 GB, free: 17.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.009953, allocations: 16.75 kB / 0.5563 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.009982, allocations: 24.33 kB / 0.5564 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.01017, allocations: 236.7 kB / 0.5566 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01018, allocations: 11.97 kB / 0.5566 GB, free: 17.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.0102, allocations: 4 kB / 0.5566 GB, free: 17.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.0102, allocations: 4 kB / 0.5566 GB, free: 17.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.0103, allocations: 146.5 kB / 0.5567 GB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.01082, allocations: 0.5152 MB / 0.5572 GB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.01098, allocations: 152.8 kB / 0.5574 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.01103, allocations: 104.5 kB / 0.5575 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.01104, allocations: 7.938 kB / 0.5575 GB, free: 16.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.0112, allocations: 321.3 kB / 0.5578 GB, free: 16.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.0112, allocations: 0 / 0.5578 GB, free: 16.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000663/0.01186, allocations: 0.812 MB / 0.5586 GB, free: 15.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.0119, allocations: 273 kB / 0.5589 GB, free: 15.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.012, allocations: 225 kB / 0.5591 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.01201, allocations: 41.7 kB / 0.5591 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.01205, allocations: 137.3 kB / 0.5592 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2622/0.2742, allocations: 111.1 kB / 0.5593 GB, free: 79.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2743, allocations: 74.33 kB / 0.5594 GB, free: 79.88 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.2744, allocations: 344.7 kB / 0.5597 GB, free: 79.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2745, allocations: 148 kB / 0.5599 GB, free: 79.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2746, allocations: 250.1 kB / 0.5601 GB, free: 79.24 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.2748, allocations: 344.5 kB / 0.5605 GB, free: 78.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2748, allocations: 0 / 0.5605 GB, free: 78.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003198/0.2752, allocations: 383.8 kB / 0.5608 GB, free: 78.76 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.2752, allocations: 93.61 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2752, allocations: 3.125 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2752, allocations: 6.406 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2755, allocations: 110.4 kB / 0.561 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2755, allocations: 7.969 kB / 0.561 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2756, allocations: 17.2 kB / 0.561 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2757, allocations: 16.62 kB / 0.5611 GB, free: 78.67 MB / 410.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.0001443/0.2758, allocations: 207.1 kB / 0.5613 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.2759, allocations: 35.31 kB / 0.5613 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.2759, allocations: 37.83 kB / 0.5613 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2759, allocations: 1.219 kB / 0.5613 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2759, allocations: 0 / 0.5613 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.2759, allocations: 24.69 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2759, allocations: 13.62 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.276, allocations: 12.31 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.2761, allocations: 15.3 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.2761, allocations: 27.33 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003304/0.2765, allocations: 393.6 kB / 0.5618 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003601/0.2768, allocations: 0.5952 MB / 0.5624 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001079/0.2769, allocations: 134.7 kB / 0.5625 GB, free: 77.77 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.069e-05/0.277, allocations: 80.5 kB / 0.5626 GB, free: 77.76 MB / 410.8 MB Notification: Performance of Backend: time 3.3e-07/0.277, allocations: 0 / 0.5626 GB, free: 77.76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004648/0.2775, allocations: 492.6 kB / 0.5631 GB, free: 77.42 MB / 410.8 MB Notification: Performance of SimCode: time 0.01532/0.2928, allocations: 1.321 MB / 0.5643 GB, free: 76.48 MB / 410.8 MB Notification: Performance of Templates: time 0.01018/0.303, allocations: 5.268 MB / 0.5695 GB, free: 75.45 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil_Tao2010_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8312274273484945]