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.0009199/0.0009199, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009197/0.0009197, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9593/0.9593, allocations: 177.1 MB / 203.5 MB, free: 5.375 MB / 186.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.7133/0.7133, allocations: 291.2 MB / 0.5382 GB, free: 51.61 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.533e-06/1.533e-06, allocations: 0 / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.089e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.002497/0.002518, allocations: 2.72 MB / 0.7001 GB, free: 7.57 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.00694, allocations: 6.6 MB / 0.7065 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.007065, allocations: 0 / 0.7065 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.007191, allocations: 47.56 kB / 0.7066 GB, free: 0.9141 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.007392, allocations: 123 kB / 0.7067 GB, free: 0.793 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.007591, allocations: 79.77 kB / 0.7067 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.007835, allocations: 389.9 kB / 0.7071 GB, free: 340 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.007975, allocations: 52.89 kB / 0.7072 GB, free: 292 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.008116, allocations: 207.4 kB / 0.7074 GB, free: 84 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.008307, allocations: 119.6 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.008339, allocations: 32 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.168e-05/0.008371, allocations: 24 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.008412, allocations: 55.75 kB / 0.7076 GB, free: 15.86 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.008499, allocations: 115.7 kB / 0.7077 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.008758, allocations: 291.1 kB / 0.708 GB, free: 15.46 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00876, allocations: 0 / 0.708 GB, free: 15.46 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008761, allocations: 4 kB / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.008765, allocations: 0 / 0.708 GB, free: 15.45 MB / 426.8 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.0007554/0.009521, allocations: 0.6003 MB / 0.7086 GB, free: 14.8 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.009559, allocations: 8.031 kB / 0.7086 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.009618, allocations: 32.75 kB / 0.7086 GB, free: 14.76 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.009917, allocations: 216.7 kB / 0.7088 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.009938, allocations: 16.69 kB / 0.7088 GB, free: 14.51 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.009973, allocations: 24.38 kB / 0.7089 GB, free: 14.49 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.0103, allocations: 292.5 kB / 0.7091 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01031, allocations: 7.953 kB / 0.7091 GB, free: 14.17 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.01033, allocations: 8 kB / 0.7091 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.01034, allocations: 4 kB / 0.7091 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.01062, allocations: 236.4 kB / 0.7094 GB, free: 13.91 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.01142, allocations: 0.6796 MB / 0.71 GB, free: 13.2 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.01182, allocations: 238.7 kB / 0.7103 GB, free: 12.94 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.01198, allocations: 152.4 kB / 0.7104 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.01199, allocations: 4 kB / 0.7104 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.01231, allocations: 357.6 kB / 0.7108 GB, free: 12.37 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.01231, allocations: 0 / 0.7108 GB, free: 12.37 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001392/0.0137, allocations: 1.087 MB / 0.7118 GB, free: 11.2 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003364/0.01404, allocations: 225.6 kB / 0.712 GB, free: 10.93 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.01423, allocations: 241.9 kB / 0.7123 GB, free: 10.68 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.01426, allocations: 37.69 kB / 0.7123 GB, free: 10.64 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01436, allocations: 160.8 kB / 0.7125 GB, free: 10.48 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.01443, allocations: 119.1 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.01451, allocations: 70.19 kB / 0.7126 GB, free: 10.28 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01464, allocations: 346.8 kB / 0.713 GB, free: 9.934 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.01484, allocations: 207.9 kB / 0.7132 GB, free: 9.711 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.01507, allocations: 315.2 kB / 0.7135 GB, free: 9.344 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.01546, allocations: 431.3 kB / 0.7139 GB, free: 8.855 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01546, allocations: 0 / 0.7139 GB, free: 8.855 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00052/0.01598, allocations: 0.5458 MB / 0.7144 GB, free: 8.266 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.01603, allocations: 89.09 kB / 0.7145 GB, free: 8.16 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01604, allocations: 4 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.01605, allocations: 4 kB / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01622, allocations: 83.83 kB / 0.7146 GB, free: 8.07 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.01623, allocations: 8.328 kB / 0.7146 GB, free: 8.062 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01634, allocations: 23.98 kB / 0.7146 GB, free: 8.039 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.01636, allocations: 16 kB / 0.7146 GB, free: 8.023 MB / 426.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.0002149/0.01657, allocations: 215.1 kB / 0.7148 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.01661, allocations: 31.81 kB / 0.7149 GB, free: 7.758 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.01666, allocations: 38.95 kB / 0.7149 GB, free: 7.719 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01666, allocations: 0 / 0.7149 GB, free: 7.719 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.01667, allocations: 0 / 0.7149 GB, free: 7.719 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.01667, allocations: 7.984 kB / 0.7149 GB, free: 7.711 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.01741, allocations: 0.7639 MB / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01741, allocations: 0 / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.01756, allocations: 51.91 kB / 0.7157 GB, free: 6.836 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01757, allocations: 7.938 kB / 0.7157 GB, free: 6.828 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.01759, allocations: 19.92 kB / 0.7157 GB, free: 6.809 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01759, allocations: 0 / 0.7157 GB, free: 6.809 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.0176, allocations: 3.938 kB / 0.7157 GB, free: 6.805 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.01822, allocations: 0.7308 MB / 0.7164 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.01825, allocations: 23.8 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.01829, allocations: 16.06 kB / 0.7165 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.01838, allocations: 11.98 kB / 0.7165 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.01846, allocations: 35.89 kB / 0.7165 GB, free: 5.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.01848, allocations: 15.98 kB / 0.7165 GB, free: 5.914 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01859, allocations: 177.2 kB / 0.7167 GB, free: 5.742 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01859, allocations: 0 / 0.7167 GB, free: 5.742 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002205/0.01881, allocations: 88 kB / 0.7168 GB, free: 5.656 MB / 426.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.000113/0.01892, allocations: 132.9 kB / 0.7169 GB, free: 5.523 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004627/0.01939, allocations: 0.5537 MB / 0.7175 GB, free: 4.902 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01939, allocations: 4 kB / 0.7175 GB, free: 4.898 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.01959, allocations: 305.9 kB / 0.7178 GB, free: 4.566 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.01992, allocations: 88.55 kB / 0.7178 GB, free: 4.48 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.02088, allocations: 0.8135 MB / 0.7186 GB, free: 3.625 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.02123, allocations: 156.3 kB / 0.7188 GB, free: 3.449 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.0213, allocations: 28.5 kB / 0.7188 GB, free: 3.422 MB / 426.8 MB Notification: Performance of SimCode: time 1.623e-06/0.0213, allocations: 0 / 0.7188 GB, free: 3.422 MB / 426.8 MB Notification: Performance of Templates: time 0.1759/0.1972, allocations: 4.017 MB / 0.7227 GB, free: 36.99 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.835750930011272]