Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.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.001414/0.001414, allocations: 112.3 kB / 19.71 MB, free: 432 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.001397/0.001397, allocations: 212.4 kB / 23 MB, free: 2.965 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.9852/0.9852, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7037/0.7037, allocations: 312.3 MB / 0.6108 GB, free: 97.49 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_Johno1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference") [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.001482/0.001482, allocations: 75.48 kB / 0.7699 GB, free: 20.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 73.99 MB / 0.8421 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference): time 0.002663/0.1172, allocations: 2.305 MB / 0.8444 GB, free: 7.996 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005466/0.1227, allocations: 6.529 MB / 0.8508 GB, free: 1.465 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1229, allocations: 0 / 0.8508 GB, free: 1.465 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.123, allocations: 32.3 kB / 0.8508 GB, free: 1.434 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1232, allocations: 80.67 kB / 0.8509 GB, free: 1.355 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1234, allocations: 47.94 kB / 0.8509 GB, free: 1.309 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1237, allocations: 263.3 kB / 0.8512 GB, free: 1.051 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1238, allocations: 33.16 kB / 0.8512 GB, free: 1.02 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1239, allocations: 95.66 kB / 0.8513 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1241, allocations: 104.1 kB / 0.8514 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1241, allocations: 16.59 kB / 0.8514 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.1241, allocations: 16 kB / 0.8514 GB, free: 0.793 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.1242, allocations: 44.5 kB / 0.8515 GB, free: 0.75 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.1243, allocations: 87.59 kB / 0.8515 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1245, allocations: 195.8 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1245, allocations: 0.5938 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1245, allocations: 0 / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1245, allocations: 0.5938 kB / 0.8517 GB, free: 484 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.0007051/0.1252, allocations: 0.4948 MB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1252, allocations: 12.03 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.1253, allocations: 21.39 kB / 0.8522 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1255, allocations: 179.7 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1255, allocations: 12.61 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.1255, allocations: 20.42 kB / 0.8524 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1258, allocations: 195.1 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1258, allocations: 4.531 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1258, allocations: 3.938 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1258, allocations: 4.5 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.126, allocations: 143.4 kB / 0.8528 GB, free: 15.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.1266, allocations: 490.7 kB / 0.8532 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.1269, allocations: 177.4 kB / 0.8534 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.127, allocations: 95.02 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1271, allocations: 0.625 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.1273, allocations: 233.8 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.1273, allocations: 0.5 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009793/0.1283, allocations: 0.689 MB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1283, allocations: 145.2 kB / 0.8545 GB, free: 13.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1285, allocations: 212 kB / 0.8547 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1285, allocations: 34.42 kB / 0.8548 GB, free: 13.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.1286, allocations: 133 kB / 0.8549 GB, free: 12.94 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1286, allocations: 75.42 kB / 0.855 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.1287, allocations: 54.5 kB / 0.855 GB, free: 12.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.1287, allocations: 338.8 kB / 0.8553 GB, free: 12.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.1289, allocations: 149.6 kB / 0.8555 GB, free: 12.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1291, allocations: 220.5 kB / 0.8557 GB, free: 12.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2456/0.3747, allocations: 278.2 kB / 0.856 GB, free: 30.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3747, allocations: 0 / 0.856 GB, free: 30.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004026/0.3751, allocations: 392.6 kB / 0.8563 GB, free: 30.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.3751, allocations: 66.84 kB / 0.8564 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3752, allocations: 2.438 kB / 0.8564 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3752, allocations: 6.047 kB / 0.8564 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3753, allocations: 56.06 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3753, allocations: 6.156 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3754, allocations: 20.83 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3754, allocations: 12.47 kB / 0.8565 GB, free: 30.05 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.0001635/0.3756, allocations: 173.6 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3756, allocations: 25.42 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.3757, allocations: 24.81 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3757, allocations: 2.25 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3757, allocations: 0 / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3757, allocations: 1.938 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.3761, allocations: 0.5442 MB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3762, allocations: 2.844 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3763, allocations: 30.41 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3763, allocations: 5.484 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3763, allocations: 5.047 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3763, allocations: 8.344 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3763, allocations: 0 / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.3767, allocations: 0.4912 MB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.3767, allocations: 19.34 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.3767, allocations: 11.66 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3768, allocations: 15.64 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.3769, allocations: 21.12 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3769, allocations: 9.406 kB / 0.8579 GB, free: 29.37 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.377, allocations: 156.5 kB / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.377, allocations: 5.609 kB / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001878/0.3771, allocations: 54.97 kB / 0.8581 GB, free: 29.3 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 8.245e-05/0.3772, allocations: 117 kB / 0.8582 GB, free: 29.21 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.3775, allocations: 375.3 kB / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3775, allocations: 0 / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3777, allocations: 171 kB / 0.8587 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.378, allocations: 66.36 kB / 0.8588 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.3788, allocations: 0.7077 MB / 0.8594 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.835e-05/0.3789, allocations: 125.3 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.3789, allocations: 24.59 kB / 0.8596 GB, free: 28.49 MB / 490.8 MB Notification: Performance of SimCode: time 7.72e-07/0.3789, allocations: 0.6562 kB / 0.8596 GB, free: 28.49 MB / 490.8 MB Notification: Performance of Templates: time 0.00378/0.3827, allocations: 2.942 MB / 0.8625 GB, free: 28.28 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9094313234090805]