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.001079/0.001079, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002458, allocations: 455.9 kB / 10.35 MB, free: 348 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.001096/0.001096, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002417, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.066/1.066, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/1.183, 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.8901/0.8901, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04231/0.9324, allocations: 21.04 MB / 0.5432 GB, free: 31.74 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.593e-06/1.593e-06, allocations: 0 / 0.5447 GB, free: 30.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.466e-05, allocations: 10.19 kB / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.002502/0.002517, allocations: 2.962 MB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.007528, allocations: 6.782 MB / 0.5542 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.007635, allocations: 0 / 0.5542 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.007722, allocations: 43.56 kB / 0.5542 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.007889, allocations: 123 kB / 0.5543 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.008035, allocations: 79.77 kB / 0.5544 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.008315, allocations: 393.9 kB / 0.5548 GB, free: 19.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.008469, allocations: 54.86 kB / 0.5548 GB, free: 19.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.008697, allocations: 250.6 kB / 0.5551 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.008893, allocations: 123.6 kB / 0.5552 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.008928, allocations: 24 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.548e-05/0.008963, allocations: 24 kB / 0.5553 GB, free: 19.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.009002, allocations: 43.75 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.009081, allocations: 95.81 kB / 0.5554 GB, free: 19.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.009292, allocations: 199.3 kB / 0.5556 GB, free: 19.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.009306, allocations: 4 kB / 0.5556 GB, free: 19.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.009306, allocations: 0 / 0.5556 GB, free: 19.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.00932, allocations: 0 / 0.5556 GB, free: 19.1 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.000743/0.01006, allocations: 0.6282 MB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.0101, allocations: 11.89 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.01016, allocations: 36.91 kB / 0.5562 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.01036, allocations: 193.5 kB / 0.5564 GB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.01039, allocations: 28.73 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.01043, allocations: 24.33 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.01065, allocations: 236.7 kB / 0.5567 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01066, allocations: 0 / 0.5567 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.01068, allocations: 8 kB / 0.5567 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.01068, allocations: 4 kB / 0.5567 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.01081, allocations: 146.5 kB / 0.5569 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.01139, allocations: 0.5191 MB / 0.5574 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.01159, allocations: 150.2 kB / 0.5575 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.01164, allocations: 107.1 kB / 0.5576 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.01166, allocations: 7.938 kB / 0.5576 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.01187, allocations: 317.7 kB / 0.5579 GB, free: 16.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.01187, allocations: 0 / 0.5579 GB, free: 16.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008004/0.01267, allocations: 0.815 MB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.01273, allocations: 281 kB / 0.559 GB, free: 15.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.01285, allocations: 225 kB / 0.5592 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01287, allocations: 37.7 kB / 0.5592 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3592/0.3721, allocations: 132.8 kB / 0.5594 GB, free: 79.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3722, allocations: 114.6 kB / 0.5595 GB, free: 79.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.3723, allocations: 75.44 kB / 0.5595 GB, free: 79.87 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.3723, allocations: 345 kB / 0.5599 GB, free: 79.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3725, allocations: 145.8 kB / 0.56 GB, free: 79.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3726, allocations: 251.8 kB / 0.5602 GB, free: 79.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3728, allocations: 346.1 kB / 0.5606 GB, free: 78.97 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3728, allocations: 1.812 kB / 0.5606 GB, free: 78.97 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003244/0.3731, allocations: 387.9 kB / 0.5609 GB, free: 78.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.3732, allocations: 90.7 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3732, allocations: 2.438 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3732, allocations: 4.438 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.3735, allocations: 107.3 kB / 0.5611 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3735, allocations: 9.719 kB / 0.5611 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.3736, allocations: 21.09 kB / 0.5612 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3736, allocations: 13.28 kB / 0.5612 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.0001498/0.3738, allocations: 211 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.3738, allocations: 33.97 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.3739, allocations: 36.72 kB / 0.5615 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3739, allocations: 3 kB / 0.5615 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.3739, allocations: 0 / 0.5615 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3739, allocations: 2.922 kB / 0.5615 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.3744, allocations: 0.5248 MB / 0.562 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3744, allocations: 1 kB / 0.562 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3746, allocations: 72.44 kB / 0.562 GB, free: 78.15 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.3746, allocations: 24.12 kB / 0.5621 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3746, allocations: 1.625 kB / 0.5621 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3746, allocations: 15.08 kB / 0.5621 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3746, allocations: 1.125 kB / 0.5621 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3746, allocations: 1.625 kB / 0.5621 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.375, allocations: 0.5241 MB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.375, allocations: 11.55 kB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.3751, allocations: 13.64 kB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.3752, allocations: 29.28 kB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.3752, allocations: 7.609 kB / 0.5627 GB, free: 77.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.686e-05/0.3753, allocations: 83.19 kB / 0.5627 GB, free: 77.79 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3753, allocations: 0 / 0.5627 GB, free: 77.79 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002105/0.3755, allocations: 88.64 kB / 0.5628 GB, free: 77.79 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.0001021/0.3756, allocations: 98.59 kB / 0.5629 GB, free: 77.72 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.3759, allocations: 495.8 kB / 0.5634 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.3759, allocations: 3.438 kB / 0.5634 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.376, allocations: 273.9 kB / 0.5636 GB, free: 77.17 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3764, allocations: 131.2 kB / 0.5638 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/0.3839, allocations: 0.7301 MB / 0.5645 GB, free: 76.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.983e-05/0.384, allocations: 96.02 kB / 0.5646 GB, free: 76.72 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.836e-05/0.3841, allocations: 34.8 kB / 0.5646 GB, free: 76.72 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.3843, allocations: 155.2 kB / 0.5648 GB, free: 76.67 MB / 410.8 MB Notification: Performance of SimCode: time 1.212e-06/0.3843, allocations: 1.125 kB / 0.5648 GB, free: 76.67 MB / 410.8 MB Notification: Performance of Templates: time 0.008539/0.3928, allocations: 5.245 MB / 0.5699 GB, free: 75.57 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.73886345885694]