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.0006645/0.0006645, allocations: 80.16 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008997/0.001564, allocations: 443.9 kB / 10.36 MB, free: 328 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.001056/0.001056, allocations: 153.2 kB / 11.25 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002395, allocations: 475.7 kB / 11.72 MB, free: 2.449 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.11/1.11, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08601/1.196, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8034/0.8034, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04988/0.8533, allocations: 21.05 MB / 0.5432 GB, free: 31.49 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.854e-06/1.854e-06, allocations: 0 / 0.5446 GB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.69e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.002747/0.002774, allocations: 2.973 MB / 0.5475 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00477/0.007544, allocations: 6.774 MB / 0.5541 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.007728, allocations: 7.938 kB / 0.5541 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.67e-05/0.007824, allocations: 31.64 kB / 0.5542 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.008037, allocations: 131 kB / 0.5543 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.008217, allocations: 79.77 kB / 0.5544 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.008462, allocations: 393.9 kB / 0.5547 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.008594, allocations: 58.84 kB / 0.5548 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.008803, allocations: 250.5 kB / 0.555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.008978, allocations: 123.6 kB / 0.5551 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.009008, allocations: 28 kB / 0.5552 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.009036, allocations: 24 kB / 0.5552 GB, free: 19.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.009067, allocations: 39.81 kB / 0.5552 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.009146, allocations: 99.8 kB / 0.5553 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.009348, allocations: 199.3 kB / 0.5555 GB, free: 18.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.00936, allocations: 0 / 0.5555 GB, free: 18.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.009362, allocations: 0 / 0.5555 GB, free: 18.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.009376, allocations: 0 / 0.5555 GB, free: 18.86 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.0006569/0.01003, allocations: 0.6282 MB / 0.5561 GB, free: 18.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01007, allocations: 11.89 kB / 0.5561 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.01013, allocations: 43.66 kB / 0.5562 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.0103, allocations: 193.5 kB / 0.5564 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.01033, allocations: 12.75 kB / 0.5564 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.01036, allocations: 32.31 kB / 0.5564 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.01056, allocations: 240.7 kB / 0.5566 GB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.01058, allocations: 4 kB / 0.5566 GB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.01059, allocations: 4 kB / 0.5567 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.0106, allocations: 8 kB / 0.5567 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.0107, allocations: 142.5 kB / 0.5568 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.01127, allocations: 0.5113 MB / 0.5573 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.01145, allocations: 154.1 kB / 0.5574 GB, free: 16.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.0115, allocations: 104.5 kB / 0.5575 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.01151, allocations: 7.938 kB / 0.5575 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.01169, allocations: 319.3 kB / 0.5579 GB, free: 16.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.544e-06/0.01169, allocations: 0 / 0.5579 GB, free: 16.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007307/0.01243, allocations: 0.8132 MB / 0.5586 GB, free: 15.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.01247, allocations: 273 kB / 0.5589 GB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.01258, allocations: 229 kB / 0.5591 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.01259, allocations: 33.7 kB / 0.5592 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.01263, allocations: 137.3 kB / 0.5593 GB, free: 14.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2785/0.2911, allocations: 117.9 kB / 0.5594 GB, free: 79.92 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.2912, allocations: 68.89 kB / 0.5595 GB, free: 79.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.2913, allocations: 345 kB / 0.5598 GB, free: 79.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2914, allocations: 148.5 kB / 0.5599 GB, free: 79.49 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2915, allocations: 248.5 kB / 0.5602 GB, free: 79.27 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2917, allocations: 349 kB / 0.5605 GB, free: 79.01 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2917, allocations: 2.719 kB / 0.5605 GB, free: 79.01 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003094/0.292, allocations: 390.4 kB / 0.5609 GB, free: 78.79 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.292, allocations: 87.8 kB / 0.561 GB, free: 78.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.292, allocations: 4.562 kB / 0.561 GB, free: 78.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.292, allocations: 5.562 kB / 0.561 GB, free: 78.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.2923, allocations: 106.8 kB / 0.5611 GB, free: 78.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2924, allocations: 8 kB / 0.5611 GB, free: 78.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2925, allocations: 22.36 kB / 0.5611 GB, free: 78.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2925, allocations: 14.59 kB / 0.5611 GB, free: 78.7 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.0001682/0.2927, allocations: 206.7 kB / 0.5613 GB, free: 78.52 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.2927, allocations: 38.17 kB / 0.5614 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.2928, allocations: 31.41 kB / 0.5614 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2928, allocations: 7.891 kB / 0.5614 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2928, allocations: 0.75 kB / 0.5614 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2928, allocations: 24.25 kB / 0.5614 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2928, allocations: 9.531 kB / 0.5614 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2928, allocations: 11.84 kB / 0.5614 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.2929, allocations: 17.36 kB / 0.5615 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.293, allocations: 26.47 kB / 0.5615 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003469/0.2934, allocations: 390.5 kB / 0.5619 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003848/0.2937, allocations: 0.5948 MB / 0.5624 GB, free: 77.85 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001136/0.2939, allocations: 140.7 kB / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.2939, allocations: 82.12 kB / 0.5626 GB, free: 77.77 MB / 410.8 MB Notification: Performance of Backend: time 2.7e-07/0.2939, allocations: 0 / 0.5626 GB, free: 77.77 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.2944, allocations: 480.3 kB / 0.5631 GB, free: 77.43 MB / 410.8 MB Notification: Performance of SimCode: time 0.007725/0.3021, allocations: 1.313 MB / 0.5644 GB, free: 76.49 MB / 410.8 MB Notification: Performance of Templates: time 0.008465/0.3106, allocations: 5.261 MB / 0.5695 GB, free: 75.45 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.498267977498472]