Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.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.000668/0.000668, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.001556, allocations: 440 kB / 10.41 MB, free: 284 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.0006681/0.0006681, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008574/0.001526, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.048/1.048, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09789/1.146, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7549/0.7549, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03227/0.7871, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.357e-05, allocations: 6.312 kB / 0.5447 GB, free: 30.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.002271/0.002284, allocations: 2.971 MB / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.006279, allocations: 6.774 MB / 0.5542 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.006369, allocations: 0 / 0.5542 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.806e-05/0.006447, allocations: 43.56 kB / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.006602, allocations: 130.9 kB / 0.5544 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.006733, allocations: 75.78 kB / 0.5545 GB, free: 20 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.006975, allocations: 393.9 kB / 0.5549 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.007099, allocations: 58.86 kB / 0.5549 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.007299, allocations: 246.6 kB / 0.5551 GB, free: 19.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.007482, allocations: 119.7 kB / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.007514, allocations: 27.94 kB / 0.5553 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.212e-05/0.007546, allocations: 28 kB / 0.5553 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.007581, allocations: 39.88 kB / 0.5554 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.00765, allocations: 91.81 kB / 0.5554 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.007849, allocations: 207.2 kB / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.00786, allocations: 0 / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007861, allocations: 0 / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.007869, allocations: 0 / 0.5556 GB, free: 18.82 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.0006309/0.0085, allocations: 0.6321 MB / 0.5563 GB, free: 18.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.008534, allocations: 15.89 kB / 0.5563 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.008593, allocations: 32.91 kB / 0.5563 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.008763, allocations: 193.5 kB / 0.5565 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.008787, allocations: 16.75 kB / 0.5565 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.008819, allocations: 32.27 kB / 0.5565 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.00902, allocations: 236.7 kB / 0.5568 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.009031, allocations: 0 / 0.5568 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.009046, allocations: 12 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.009051, allocations: 4 kB / 0.5568 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.009155, allocations: 138.6 kB / 0.5569 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.009661, allocations: 0.5152 MB / 0.5574 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.009846, allocations: 160.1 kB / 0.5576 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.009898, allocations: 99.14 kB / 0.5577 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.009909, allocations: 11.94 kB / 0.5577 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.01009, allocations: 322.5 kB / 0.558 GB, free: 16.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.293e-06/0.01009, allocations: 3.938 kB / 0.558 GB, free: 16.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000738/0.01083, allocations: 0.8141 MB / 0.5588 GB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.01089, allocations: 281 kB / 0.559 GB, free: 14.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2807/0.2916, allocations: 218.9 kB / 0.5593 GB, free: 79.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.2917, allocations: 37.11 kB / 0.5593 GB, free: 79.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.2917, allocations: 136.5 kB / 0.5594 GB, free: 79.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.2918, allocations: 118 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.2919, allocations: 71.75 kB / 0.5596 GB, free: 79.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.2919, allocations: 347.6 kB / 0.5599 GB, free: 79.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.292, allocations: 141.9 kB / 0.5601 GB, free: 78.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.2921, allocations: 251.3 kB / 0.5603 GB, free: 78.74 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.2923, allocations: 351.1 kB / 0.5606 GB, free: 78.49 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2923, allocations: 1.031 kB / 0.5606 GB, free: 78.49 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002802/0.2926, allocations: 380.9 kB / 0.561 GB, free: 78.27 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.2926, allocations: 92 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2926, allocations: 4.906 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2926, allocations: 5.219 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.293, allocations: 109.4 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.293, allocations: 7.609 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.2931, allocations: 21.5 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.2931, allocations: 15.27 kB / 0.5612 GB, free: 78.17 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.0001499/0.2933, allocations: 209.7 kB / 0.5614 GB, free: 78 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.2933, allocations: 38.52 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.2933, allocations: 32.59 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2933, allocations: 3.906 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2933, allocations: 0.5625 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2934, allocations: 1.719 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.2938, allocations: 0.5225 MB / 0.562 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2938, allocations: 0.7031 kB / 0.562 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.2941, allocations: 72.38 kB / 0.5621 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.2941, allocations: 28.55 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2941, allocations: 1.75 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2941, allocations: 11.08 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2941, allocations: 1 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2941, allocations: 4.125 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.2945, allocations: 0.5135 MB / 0.5626 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.2945, allocations: 15.02 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2946, allocations: 19.5 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.2947, allocations: 25.73 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2947, allocations: 10.7 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.465e-05/0.2948, allocations: 80.95 kB / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.2948, allocations: 0 / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002127/0.295, allocations: 88.53 kB / 0.5629 GB, free: 77.32 MB / 410.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.0001105/0.2951, allocations: 93.06 kB / 0.563 GB, free: 77.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.2954, allocations: 498.4 kB / 0.5634 GB, free: 76.89 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.2954, allocations: 4.906 kB / 0.5634 GB, free: 76.89 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.2956, allocations: 280.7 kB / 0.5637 GB, free: 76.7 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.296, allocations: 0.6621 MB / 0.5644 GB, free: 76.06 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.3034, allocations: 0.7154 MB / 0.5651 GB, free: 75.7 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.3035, allocations: 97.22 kB / 0.5652 GB, free: 75.62 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.3036, allocations: 34.81 kB / 0.5652 GB, free: 75.62 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.3039, allocations: 155.9 kB / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of SimCode: time 1.433e-06/0.3039, allocations: 0.7812 kB / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of Templates: time 0.0086/0.3125, allocations: 5.276 MB / 0.5705 GB, free: 74.46 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.410428042523563]