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.0008517/0.0008517, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002121, allocations: 440 kB / 10.41 MB, free: 284 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.0007832/0.0007832, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001905, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.061/1.061, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09491/1.155, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.7241/0.7241, allocations: 291.2 MB / 0.5228 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02738/0.7515, allocations: 21.05 MB / 0.5434 GB, free: 31.7 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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5448 GB, free: 30.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.765e-05, allocations: 6.25 kB / 0.5448 GB, free: 30.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide): time 0.002208/0.002226, allocations: 2.503 MB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.006659, allocations: 6.688 MB / 0.5538 GB, free: 21.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.006774, allocations: 0 / 0.5538 GB, free: 21.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.649e-05/0.00685, allocations: 31.7 kB / 0.5538 GB, free: 21.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.006995, allocations: 83.27 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.007139, allocations: 51.88 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.007329, allocations: 274.6 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.007435, allocations: 34.55 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.007605, allocations: 180.1 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.007756, allocations: 91.7 kB / 0.5545 GB, free: 20.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.007779, allocations: 16 kB / 0.5545 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.455e-05/0.007804, allocations: 20 kB / 0.5545 GB, free: 20.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.007831, allocations: 23.88 kB / 0.5545 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.007881, allocations: 63.88 kB / 0.5546 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.00804, allocations: 131.5 kB / 0.5547 GB, free: 20.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.008052, allocations: 3.938 kB / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008053, allocations: 4 kB / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.008061, allocations: 0 / 0.5547 GB, free: 20.06 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005123/0.008574, allocations: 0.4937 MB / 0.5552 GB, free: 19.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.008603, allocations: 8.031 kB / 0.5552 GB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.008649, allocations: 28.91 kB / 0.5553 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.008792, allocations: 175.1 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.008808, allocations: 16.55 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.008832, allocations: 16.38 kB / 0.5555 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.008985, allocations: 163.4 kB / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.008995, allocations: 0 / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.009006, allocations: 8 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.009011, allocations: 0 / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.009085, allocations: 78.34 kB / 0.5557 GB, free: 19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.009444, allocations: 372.9 kB / 0.556 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.009604, allocations: 112.1 kB / 0.5562 GB, free: 18.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.009641, allocations: 65.5 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.00965, allocations: 4 kB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.009786, allocations: 195.8 kB / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.009787, allocations: 3.938 kB / 0.5564 GB, free: 18.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005185/0.01031, allocations: 0.51 MB / 0.5569 GB, free: 17.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.01034, allocations: 170.2 kB / 0.5571 GB, free: 17.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.01042, allocations: 206 kB / 0.5573 GB, free: 17.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.01043, allocations: 33.7 kB / 0.5573 GB, free: 17.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.01046, allocations: 116.4 kB / 0.5574 GB, free: 17.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.0105, allocations: 75.45 kB / 0.5575 GB, free: 16.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.01054, allocations: 47.19 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.618e-05/0.01058, allocations: 338.8 kB / 0.5579 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.01063, allocations: 93 kB / 0.5579 GB, free: 16.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.01069, allocations: 173.3 kB / 0.5581 GB, free: 16.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.01079, allocations: 219.7 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.01079, allocations: 0 / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001497/0.01094, allocations: 266.7 kB / 0.5586 GB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.01097, allocations: 59.62 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01097, allocations: 6.734 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01099, allocations: 4 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01114, allocations: 67.89 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01114, allocations: 4 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.01122, allocations: 19.92 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01123, allocations: 8 kB / 0.5587 GB, free: 15.54 MB / 410.7 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.0001017/0.01133, allocations: 173.6 kB / 0.5589 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.01135, allocations: 19.98 kB / 0.5589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.01138, allocations: 29.95 kB / 0.5589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01138, allocations: 0 / 0.5589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01138, allocations: 3.938 kB / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01139, allocations: 0 / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.01162, allocations: 377.3 kB / 0.5593 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.01162, allocations: 7.922 kB / 0.5593 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.01174, allocations: 43.91 kB / 0.5594 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.01176, allocations: 15.86 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01176, allocations: 4 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01177, allocations: 11.38 kB / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01178, allocations: 0 / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01178, allocations: 0 / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2763/0.2881, allocations: 344.7 kB / 0.5597 GB, free: 79.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.2882, allocations: 6.906 kB / 0.5597 GB, free: 79.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.2883, allocations: 10.78 kB / 0.5597 GB, free: 79.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.2884, allocations: 25.48 kB / 0.5598 GB, free: 79.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2884, allocations: 5.188 kB / 0.5598 GB, free: 79.33 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.2884, allocations: 67.34 kB / 0.5598 GB, free: 79.32 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2884, allocations: 0 / 0.5598 GB, free: 79.32 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002321/0.2887, allocations: 60.23 kB / 0.5599 GB, free: 79.32 MB / 410.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.0001398/0.2888, allocations: 87.23 kB / 0.56 GB, free: 79.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.2891, allocations: 307.1 kB / 0.5603 GB, free: 79.03 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.2891, allocations: 2.469 kB / 0.5603 GB, free: 79.03 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.2892, allocations: 155.9 kB / 0.5604 GB, free: 78.93 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.2897, allocations: 0.504 MB / 0.5609 GB, free: 78.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.295, allocations: 0.5609 MB / 0.5615 GB, free: 78.16 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.396e-05/0.2951, allocations: 82.31 kB / 0.5615 GB, free: 78.09 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.2952, allocations: 26.53 kB / 0.5616 GB, free: 78.09 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.2954, allocations: 116.6 kB / 0.5617 GB, free: 78.04 MB / 410.8 MB Notification: Performance of SimCode: time 1.222e-06/0.2954, allocations: 0 / 0.5617 GB, free: 78.04 MB / 410.8 MB Notification: Performance of Templates: time 0.006394/0.3018, allocations: 3.786 MB / 0.5654 GB, free: 77.83 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.646720084361732]