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.0008555/0.0008555, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002024, allocations: 435.8 kB / 10.31 MB, free: 384 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.0008938/0.0008938, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002063, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9694/0.9694, allocations: 177.1 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1264/1.096, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.7597/0.7597, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04872/0.8084, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.192e-06/1.192e-06, allocations: 0 / 0.5445 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.207e-06/1.04e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.002143/0.002153, allocations: 2.95 MB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.005899, allocations: 6.774 MB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.458e-05/0.005973, allocations: 0 / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.217e-05/0.006035, allocations: 47.56 kB / 0.554 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.006168, allocations: 119 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.006282, allocations: 79.77 kB / 0.5542 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.006488, allocations: 393.9 kB / 0.5546 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.006573, allocations: 54.86 kB / 0.5547 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.006741, allocations: 250.6 kB / 0.5549 GB, free: 19.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.006873, allocations: 123.6 kB / 0.555 GB, free: 19.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.006897, allocations: 24 kB / 0.555 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.006926, allocations: 24 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.006951, allocations: 39.81 kB / 0.5551 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.007015, allocations: 95.81 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.007163, allocations: 203.2 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.007174, allocations: 0 / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007174, allocations: 0 / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.007183, allocations: 0 / 0.5554 GB, free: 19.34 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.0005119/0.007695, allocations: 0.6321 MB / 0.556 GB, free: 18.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.156e-05/0.007717, allocations: 11.89 kB / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.007761, allocations: 36.91 kB / 0.5561 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.007895, allocations: 197.5 kB / 0.5562 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.007913, allocations: 16.75 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.007936, allocations: 24.33 kB / 0.5563 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.008104, allocations: 244 kB / 0.5565 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.008115, allocations: 4 kB / 0.5565 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.008127, allocations: 11.98 kB / 0.5565 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.008132, allocations: 8 kB / 0.5565 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.008226, allocations: 133.8 kB / 0.5567 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.008683, allocations: 0.5116 MB / 0.5572 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.008827, allocations: 161.1 kB / 0.5573 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.008873, allocations: 107.1 kB / 0.5574 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.008882, allocations: 7.938 kB / 0.5574 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.009025, allocations: 317.8 kB / 0.5577 GB, free: 16.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.192e-06/0.009027, allocations: 0 / 0.5577 GB, free: 16.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006159/0.009643, allocations: 0.8048 MB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.009679, allocations: 221.6 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.009769, allocations: 229 kB / 0.5589 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.009784, allocations: 33.7 kB / 0.559 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.009816, allocations: 133.3 kB / 0.5591 GB, free: 15.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.009859, allocations: 123 kB / 0.5592 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.009913, allocations: 66.17 kB / 0.5593 GB, free: 14.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2467/0.2566, allocations: 352.6 kB / 0.5596 GB, free: 79.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.2568, allocations: 141.1 kB / 0.5598 GB, free: 79.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2569, allocations: 248.2 kB / 0.56 GB, free: 79.17 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2571, allocations: 342.9 kB / 0.5603 GB, free: 78.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2571, allocations: 4.703 kB / 0.5603 GB, free: 78.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003305/0.2574, allocations: 385.8 kB / 0.5607 GB, free: 78.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.2575, allocations: 90.16 kB / 0.5608 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2575, allocations: 3.562 kB / 0.5608 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2575, allocations: 5.469 kB / 0.5608 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.2578, allocations: 113.7 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2578, allocations: 8.844 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.258, allocations: 21.42 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.258, allocations: 14.97 kB / 0.5609 GB, free: 78.6 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.0001971/0.2582, allocations: 204.3 kB / 0.5611 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.2583, allocations: 34.67 kB / 0.5612 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.2583, allocations: 39.2 kB / 0.5612 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2583, allocations: 4.438 kB / 0.5612 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2583, allocations: 0.9375 kB / 0.5612 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2583, allocations: 1.125 kB / 0.5612 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.2588, allocations: 0.5171 MB / 0.5617 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2588, allocations: 0 / 0.5617 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.2591, allocations: 74.36 kB / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.2591, allocations: 24.3 kB / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2591, allocations: 1.219 kB / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.2591, allocations: 16 kB / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2591, allocations: 1.75 kB / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2591, allocations: 0.5625 kB / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.2595, allocations: 0.5204 MB / 0.5623 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.2595, allocations: 15.36 kB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.2597, allocations: 16.84 kB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.2597, allocations: 25.56 kB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2597, allocations: 11.05 kB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.977e-05/0.2598, allocations: 79.02 kB / 0.5625 GB, free: 77.76 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2598, allocations: 0 / 0.5625 GB, free: 77.76 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002201/0.26, allocations: 89.41 kB / 0.5626 GB, free: 77.76 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.000109/0.2602, allocations: 103.6 kB / 0.5627 GB, free: 77.69 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.2605, allocations: 487.1 kB / 0.5631 GB, free: 77.33 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.2605, allocations: 2.844 kB / 0.5631 GB, free: 77.33 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.2606, allocations: 260.9 kB / 0.5634 GB, free: 77.13 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.2609, allocations: 127.1 kB / 0.5635 GB, free: 77.13 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/0.2689, allocations: 0.7446 MB / 0.5642 GB, free: 76.77 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.802e-05/0.269, allocations: 96.95 kB / 0.5643 GB, free: 76.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.2691, allocations: 36.53 kB / 0.5644 GB, free: 76.69 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.2693, allocations: 151.8 kB / 0.5645 GB, free: 76.65 MB / 410.8 MB Notification: Performance of SimCode: time 7.72e-07/0.2693, allocations: 0.5938 kB / 0.5645 GB, free: 76.65 MB / 410.8 MB Notification: Performance of Templates: time 0.007951/0.2773, allocations: 5.244 MB / 0.5696 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: 5.175471463240683]