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.0007314/0.0007314, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008652/0.001597, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007286/0.0007286, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008933/0.001622, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.029/1.029, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08393/1.113, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7394/0.7394, allocations: 291.2 MB / 0.5226 GB, free: 52.49 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03583/0.7752, allocations: 21.04 MB / 0.5431 GB, free: 31.51 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.974e-06/1.974e-06, allocations: 0 / 0.5445 GB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.216e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.003708/0.00373, allocations: 2.964 MB / 0.5474 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007005/0.01074, allocations: 6.77 MB / 0.554 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.01099, allocations: 4 kB / 0.5541 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.01111, allocations: 43.56 kB / 0.5541 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.01141, allocations: 127 kB / 0.5542 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.01166, allocations: 75.77 kB / 0.5543 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.01209, allocations: 389.9 kB / 0.5547 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.01227, allocations: 62.84 kB / 0.5547 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.01262, allocations: 246.6 kB / 0.555 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.01291, allocations: 127.6 kB / 0.5551 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.01297, allocations: 24 kB / 0.5551 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.01302, allocations: 31.94 kB / 0.5551 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.01306, allocations: 39.81 kB / 0.5552 GB, free: 19.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.01318, allocations: 95.81 kB / 0.5553 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.01347, allocations: 195.3 kB / 0.5554 GB, free: 18.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.321e-05/0.01349, allocations: 4 kB / 0.5554 GB, free: 18.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.01349, allocations: 0 / 0.5554 GB, free: 18.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.01352, allocations: 0 / 0.5554 GB, free: 18.88 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.0009802/0.0145, allocations: 0.6282 MB / 0.5561 GB, free: 18.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01454, allocations: 11.89 kB / 0.5561 GB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.01462, allocations: 44.03 kB / 0.5561 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.01487, allocations: 193.5 kB / 0.5563 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.01489, allocations: 12.75 kB / 0.5563 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.01494, allocations: 36.3 kB / 0.5563 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.01524, allocations: 240.1 kB / 0.5566 GB, free: 17.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.01525, allocations: 0 / 0.5566 GB, free: 17.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.01527, allocations: 8 kB / 0.5566 GB, free: 17.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.01528, allocations: 4 kB / 0.5566 GB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.01544, allocations: 145.8 kB / 0.5567 GB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.01622, allocations: 0.5116 MB / 0.5572 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.01647, allocations: 154.1 kB / 0.5574 GB, free: 16.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.01655, allocations: 104.5 kB / 0.5575 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.01656, allocations: 11.94 kB / 0.5575 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.01682, allocations: 320.3 kB / 0.5578 GB, free: 16.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.086e-06/0.01682, allocations: 4 kB / 0.5578 GB, free: 16.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001012/0.01783, allocations: 0.797 MB / 0.5586 GB, free: 15.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.01789, allocations: 221.6 kB / 0.5588 GB, free: 15.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.01804, allocations: 225 kB / 0.559 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.01807, allocations: 33.7 kB / 0.559 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.01813, allocations: 141.3 kB / 0.5592 GB, free: 14.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2812/0.2993, allocations: 114.1 kB / 0.5593 GB, free: 79.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.2994, allocations: 71.11 kB / 0.5593 GB, free: 79.87 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.2994, allocations: 348.1 kB / 0.5597 GB, free: 79.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2995, allocations: 143.9 kB / 0.5598 GB, free: 79.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.2996, allocations: 251.8 kB / 0.5601 GB, free: 79.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.2998, allocations: 344.1 kB / 0.5604 GB, free: 78.97 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2998, allocations: 1.25 kB / 0.5604 GB, free: 78.97 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002886/0.3001, allocations: 390.5 kB / 0.5608 GB, free: 78.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.3001, allocations: 89.88 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3001, allocations: 4.844 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3002, allocations: 5.25 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.3004, allocations: 102.5 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3005, allocations: 9.781 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.3006, allocations: 25.03 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3006, allocations: 14.91 kB / 0.561 GB, free: 78.66 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.0001414/0.3007, allocations: 203.6 kB / 0.5612 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3008, allocations: 41.69 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.3008, allocations: 33.61 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3008, allocations: 3.781 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3008, allocations: 1.062 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3008, allocations: 2.266 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.3013, allocations: 0.5162 MB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3013, allocations: 3.938 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.3015, allocations: 72.62 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.3015, allocations: 22.94 kB / 0.5619 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3015, allocations: 2.938 kB / 0.5619 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3015, allocations: 8.766 kB / 0.5619 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3015, allocations: 1.125 kB / 0.5619 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3015, allocations: 5.219 kB / 0.5619 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3019, allocations: 0.5246 MB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3019, allocations: 11.75 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.302, allocations: 15.62 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.3021, allocations: 31.95 kB / 0.5625 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3021, allocations: 10.69 kB / 0.5625 GB, free: 77.83 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.494e-05/0.3021, allocations: 76.67 kB / 0.5625 GB, free: 77.82 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.3021, allocations: 2.281 kB / 0.5625 GB, free: 77.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001973/0.3023, allocations: 84.97 kB / 0.5626 GB, free: 77.82 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 9.708e-05/0.3024, allocations: 104.6 kB / 0.5627 GB, free: 77.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3027, allocations: 482.8 kB / 0.5632 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.3027, allocations: 5.453 kB / 0.5632 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3028, allocations: 264.7 kB / 0.5634 GB, free: 77.19 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3031, allocations: 127.5 kB / 0.5636 GB, free: 77.19 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007638/0.3108, allocations: 0.7433 MB / 0.5643 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.436e-05/0.3108, allocations: 96.59 kB / 0.5644 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.3109, allocations: 36.95 kB / 0.5644 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.3111, allocations: 147.9 kB / 0.5646 GB, free: 76.71 MB / 410.8 MB Notification: Performance of SimCode: time 8.42e-07/0.3111, allocations: 0 / 0.5646 GB, free: 76.71 MB / 410.8 MB Notification: Performance of Templates: time 0.006873/0.318, allocations: 5.271 MB / 0.5697 GB, free: 75.6 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.348946466110647]