Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.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.001112/0.001112, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 13.93 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.001005/0.001005, allocations: 216.4 kB / 23 MB, free: 2.945 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.9683/0.9683, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.7077/0.7077, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.N03AG05_Progabide.Progabide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 77.8 kB / 0.7699 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1083, allocations: 73.99 MB / 0.8422 GB, free: 9.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide): time 0.002504/0.1108, allocations: 2.31 MB / 0.8444 GB, free: 7.539 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.1156, allocations: 6.529 MB / 0.8508 GB, free: 1.008 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1157, allocations: 0.5312 kB / 0.8508 GB, free: 1.008 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.1158, allocations: 23.72 kB / 0.8508 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.116, allocations: 88.7 kB / 0.8509 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1162, allocations: 44.56 kB / 0.8509 GB, free: 0.8555 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1165, allocations: 259.4 kB / 0.8512 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1166, allocations: 40.5 kB / 0.8512 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1167, allocations: 100.1 kB / 0.8513 GB, free: 476 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1168, allocations: 96.05 kB / 0.8514 GB, free: 380 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1169, allocations: 20 kB / 0.8514 GB, free: 360 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.1169, allocations: 16.62 kB / 0.8514 GB, free: 344 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.1169, allocations: 40.38 kB / 0.8515 GB, free: 304 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.117, allocations: 91.58 kB / 0.8516 GB, free: 212 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1172, allocations: 199.7 kB / 0.8518 GB, free: 12 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1172, allocations: 4.75 kB / 0.8518 GB, free: 8 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1172, allocations: 0 / 0.8518 GB, free: 8 kB / 474.8 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1172, allocations: 0.5625 kB / 0.8518 GB, free: 8 kB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000661/0.1179, allocations: 498.6 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1179, allocations: 11.89 kB / 0.8523 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1179, allocations: 29.56 kB / 0.8523 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1181, allocations: 175.2 kB / 0.8525 GB, free: 15.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1181, allocations: 21.09 kB / 0.8525 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.1182, allocations: 19.89 kB / 0.8525 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1184, allocations: 191 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1184, allocations: 4.594 kB / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1184, allocations: 4.75 kB / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1184, allocations: 7.984 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.1186, allocations: 139.6 kB / 0.8528 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.1192, allocations: 482.7 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.1195, allocations: 172.8 kB / 0.8534 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1196, allocations: 95.7 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1196, allocations: 4 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.1198, allocations: 223.8 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.1198, allocations: 0.5938 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009128/0.1208, allocations: 0.7086 MB / 0.8545 GB, free: 13.03 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1208, allocations: 136.5 kB / 0.8546 GB, free: 12.87 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.121, allocations: 215.6 kB / 0.8548 GB, free: 12.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.121, allocations: 33.7 kB / 0.8548 GB, free: 12.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.121, allocations: 133.2 kB / 0.8549 GB, free: 12.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1211, allocations: 71.42 kB / 0.855 GB, free: 12.41 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1211, allocations: 62.33 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.1212, allocations: 334.7 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2563/0.3775, allocations: 147.8 kB / 0.8555 GB, free: 30.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.3778, allocations: 221.5 kB / 0.8557 GB, free: 30.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.378, allocations: 280.3 kB / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.378, allocations: 0 / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003992/0.3784, allocations: 395.2 kB / 0.8564 GB, free: 29.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.3785, allocations: 64.12 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3785, allocations: 3.75 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3785, allocations: 2.75 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3786, allocations: 50.14 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3787, allocations: 6.156 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3788, allocations: 18.62 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3788, allocations: 13.14 kB / 0.8565 GB, free: 29.79 MB / 490.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001775/0.379, allocations: 179.5 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.379, allocations: 25.19 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.379, allocations: 22.39 kB / 0.8568 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.379, allocations: 4.219 kB / 0.8568 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.379, allocations: 3.062 kB / 0.8568 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.379, allocations: 1.312 kB / 0.8568 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.3796, allocations: 0.5308 MB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3796, allocations: 9.5 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.3797, allocations: 37.36 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3797, allocations: 1.359 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3797, allocations: 7.5 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3797, allocations: 9.016 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3797, allocations: 0 / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.3801, allocations: 0.4928 MB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.3802, allocations: 19.98 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.3802, allocations: 6.766 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.3803, allocations: 16.84 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.3803, allocations: 19.83 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3804, allocations: 9.281 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.862e-05/0.3804, allocations: 157.9 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3804, allocations: 0.625 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001933/0.3806, allocations: 54.12 kB / 0.8581 GB, free: 29.03 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001034/0.3807, allocations: 114 kB / 0.8582 GB, free: 28.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.3811, allocations: 381.8 kB / 0.8586 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3811, allocations: 0 / 0.8586 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3812, allocations: 170.4 kB / 0.8587 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3816, allocations: 75.06 kB / 0.8588 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.3825, allocations: 0.7024 MB / 0.8595 GB, free: 28.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.491e-05/0.3825, allocations: 124.5 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.3826, allocations: 27.86 kB / 0.8596 GB, free: 28.22 MB / 490.8 MB Notification: Performance of SimCode: time 7.31e-07/0.3826, allocations: 0.5312 kB / 0.8596 GB, free: 28.22 MB / 490.8 MB Notification: Performance of Templates: time 0.004337/0.3869, allocations: 2.946 MB / 0.8625 GB, free: 28 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.868541679345071]