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.002357/0.002357, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002727/0.002727, allocations: 169.9 kB / 22.46 MB, free: 2.098 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 1.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.412/1.412, allocations: 293 MB / 0.5392 GB, free: 50.12 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.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.502e-06/1.502e-06, allocations: 0 / 0.7 GB, free: 8.57 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.903e-05, allocations: 6.219 kB / 0.7 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil): time 0.003223/0.003252, allocations: 2.713 MB / 0.7026 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.009369, allocations: 6.608 MB / 0.7091 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.009607, allocations: 4 kB / 0.7091 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.0098, allocations: 39.56 kB / 0.7091 GB, free: 15.17 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.01017, allocations: 134.9 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.01045, allocations: 71.91 kB / 0.7093 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000497/0.01095, allocations: 385.9 kB / 0.7097 GB, free: 14.59 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.01112, allocations: 60.83 kB / 0.7097 GB, free: 14.53 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.01142, allocations: 207.5 kB / 0.7099 GB, free: 14.33 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.01173, allocations: 119.6 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.01178, allocations: 24 kB / 0.7101 GB, free: 14.19 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.01184, allocations: 28 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.01191, allocations: 67.69 kB / 0.7102 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.01207, allocations: 107.8 kB / 0.7103 GB, free: 13.99 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.01252, allocations: 295.1 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01253, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd: time 4.348e-06/0.01253, allocations: 3.984 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.01254, allocations: 0 / 0.7105 GB, free: 13.7 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.00134/0.01388, allocations: 0.5846 MB / 0.7111 GB, free: 13.06 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.01393, allocations: 16.03 kB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.01403, allocations: 40.75 kB / 0.7112 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.01439, allocations: 216.7 kB / 0.7114 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.01442, allocations: 12.75 kB / 0.7114 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.01448, allocations: 24.38 kB / 0.7114 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.01509, allocations: 284.7 kB / 0.7117 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.01511, allocations: 7.953 kB / 0.7117 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.01514, allocations: 8 kB / 0.7117 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01515, allocations: 4 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.01572, allocations: 244.4 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.0171, allocations: 0.6678 MB / 0.7126 GB, free: 11.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.01778, allocations: 246 kB / 0.7128 GB, free: 11.19 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.01806, allocations: 148.5 kB / 0.713 GB, free: 11.03 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.01808, allocations: 4 kB / 0.713 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.01867, allocations: 365.3 kB / 0.7133 GB, free: 10.62 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.01867, allocations: 0 / 0.7133 GB, free: 10.62 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002403/0.02108, allocations: 1.083 MB / 0.7144 GB, free: 9.445 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.02126, allocations: 213.6 kB / 0.7146 GB, free: 9.188 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.02162, allocations: 249.9 kB / 0.7148 GB, free: 8.938 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.02166, allocations: 33.7 kB / 0.7148 GB, free: 8.898 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.02184, allocations: 156.8 kB / 0.715 GB, free: 8.738 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.02198, allocations: 115.1 kB / 0.7151 GB, free: 8.625 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.02213, allocations: 70.19 kB / 0.7152 GB, free: 8.547 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.02234, allocations: 346.7 kB / 0.7155 GB, free: 8.199 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.02273, allocations: 207.9 kB / 0.7157 GB, free: 7.977 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.02319, allocations: 315.2 kB / 0.716 GB, free: 7.609 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.02389, allocations: 431 kB / 0.7164 GB, free: 7.121 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02389, allocations: 4 kB / 0.7164 GB, free: 7.117 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009953/0.02488, allocations: 0.5498 MB / 0.717 GB, free: 6.523 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.025, allocations: 89.11 kB / 0.717 GB, free: 6.418 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.02501, allocations: 4 kB / 0.717 GB, free: 6.414 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.02503, allocations: 7.984 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.02539, allocations: 83.83 kB / 0.7171 GB, free: 6.324 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.0254, allocations: 7.938 kB / 0.7171 GB, free: 6.316 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.02564, allocations: 19.98 kB / 0.7172 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.02568, allocations: 16.16 kB / 0.7172 GB, free: 6.281 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.0003064/0.02599, allocations: 223 kB / 0.7174 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.02605, allocations: 31.81 kB / 0.7174 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.02612, allocations: 30.95 kB / 0.7174 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.02613, allocations: 4 kB / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.02613, allocations: 0 / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.02614, allocations: 3.984 kB / 0.7174 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.02752, allocations: 0.7756 MB / 0.7182 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02752, allocations: 0 / 0.7182 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.02782, allocations: 55.91 kB / 0.7183 GB, free: 5.078 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.02782, allocations: 0 / 0.7183 GB, free: 5.078 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.02785, allocations: 11.98 kB / 0.7183 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.02786, allocations: 4 kB / 0.7183 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.02786, allocations: 3.938 kB / 0.7183 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.02909, allocations: 0.7191 MB / 0.719 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.02915, allocations: 31.86 kB / 0.719 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.02921, allocations: 12 kB / 0.719 GB, free: 4.238 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.02943, allocations: 15.98 kB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.02953, allocations: 35.89 kB / 0.7191 GB, free: 4.188 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.02956, allocations: 11.98 kB / 0.7191 GB, free: 4.176 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002077/0.02977, allocations: 177.2 kB / 0.7193 GB, free: 4.004 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02977, allocations: 0 / 0.7193 GB, free: 4.004 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003757/0.03014, allocations: 88 kB / 0.7193 GB, free: 3.918 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 0.0001836/0.03033, allocations: 130.9 kB / 0.7195 GB, free: 3.785 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2331/0.2635, allocations: 0.5568 MB / 0.72 GB, free: 37.22 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2635, allocations: 0 / 0.72 GB, free: 37.22 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.2639, allocations: 300 kB / 0.7203 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.2646, allocations: 91.67 kB / 0.7204 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2661, allocations: 0.7827 MB / 0.7211 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.2662, allocations: 163.7 kB / 0.7213 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.2664, allocations: 36.58 kB / 0.7213 GB, free: 36.54 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.2665, allocations: 27.47 kB / 0.7214 GB, free: 36.53 MB / 426.8 MB Notification: Performance of SimCode: time 1.453e-06/0.2665, allocations: 0 / 0.7214 GB, free: 36.53 MB / 426.8 MB Notification: Performance of Templates: time 0.01045/0.2769, allocations: 4.552 MB / 0.7258 GB, free: 36.12 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.085591159993783]