Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.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.0008513/0.0008513, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001882, allocations: 443.9 kB / 10.36 MB, free: 332 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.0008173/0.0008173, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002096, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9789/0.9789, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09906/1.078, allocations: 53.66 MB / 243.3 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.7896/0.7896, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03543/0.825, allocations: 21.04 MB / 0.5432 GB, free: 31.94 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.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.881e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam): time 0.003888/0.003907, allocations: 3.307 MB / 0.5478 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007453/0.01136, allocations: 6.801 MB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.0118, allocations: 7.938 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.01197, allocations: 39.62 kB / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.01238, allocations: 134.9 kB / 0.5546 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.01271, allocations: 83.83 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.01325, allocations: 437.8 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.01346, allocations: 67.36 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.01396, allocations: 270.5 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.01433, allocations: 131.6 kB / 0.5556 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-05/0.01442, allocations: 32 kB / 0.5556 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.01449, allocations: 32 kB / 0.5556 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.01455, allocations: 47.81 kB / 0.5557 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.0147, allocations: 103.8 kB / 0.5558 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.01508, allocations: 227.2 kB / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.765e-05/0.0151, allocations: 0 / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.0151, allocations: 0 / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.01513, allocations: 0 / 0.556 GB, free: 18.79 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00103/0.01616, allocations: 0.6434 MB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.01621, allocations: 11.89 kB / 0.5567 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.01631, allocations: 40.91 kB / 0.5567 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.0166, allocations: 197.5 kB / 0.5569 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.01664, allocations: 20.88 kB / 0.5569 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.01669, allocations: 20.33 kB / 0.5569 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.01699, allocations: 250.1 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.017, allocations: 0 / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.01702, allocations: 19.98 kB / 0.5572 GB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.01703, allocations: 4 kB / 0.5572 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.0172, allocations: 138.6 kB / 0.5573 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.01795, allocations: 473.9 kB / 0.5578 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.01824, allocations: 176 kB / 0.5579 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.01832, allocations: 111.2 kB / 0.558 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.01833, allocations: 11.94 kB / 0.558 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.01859, allocations: 322.8 kB / 0.5584 GB, free: 16.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/0.01859, allocations: 0 / 0.5584 GB, free: 16.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.00105/0.01964, allocations: 0.8346 MB / 0.5592 GB, free: 15.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.0197, allocations: 277 kB / 0.5594 GB, free: 14.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.263/0.2827, allocations: 231.2 kB / 0.5597 GB, free: 79.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.2828, allocations: 35.45 kB / 0.5597 GB, free: 79.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.2828, allocations: 142.5 kB / 0.5598 GB, free: 79.76 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.2829, allocations: 114.7 kB / 0.5599 GB, free: 79.72 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.283, allocations: 74.95 kB / 0.56 GB, free: 79.71 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.283, allocations: 345.4 kB / 0.5603 GB, free: 79.39 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.2831, allocations: 149 kB / 0.5605 GB, free: 79.29 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2832, allocations: 251.4 kB / 0.5607 GB, free: 79.07 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2834, allocations: 336.6 kB / 0.561 GB, free: 78.81 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2834, allocations: 0.9688 kB / 0.561 GB, free: 78.81 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000268/0.2836, allocations: 394.5 kB / 0.5614 GB, free: 78.59 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.2837, allocations: 92.16 kB / 0.5615 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2837, allocations: 3.75 kB / 0.5615 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2837, allocations: 5.062 kB / 0.5615 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.284, allocations: 109.4 kB / 0.5616 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.284, allocations: 10.73 kB / 0.5616 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2841, allocations: 18.2 kB / 0.5616 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.2841, allocations: 14.77 kB / 0.5617 GB, free: 78.5 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0001379/0.2843, allocations: 211.5 kB / 0.5619 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.2843, allocations: 38.94 kB / 0.5619 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.2844, allocations: 38.33 kB / 0.5619 GB, free: 78.31 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2844, allocations: 1.359 kB / 0.5619 GB, free: 78.31 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2844, allocations: 0 / 0.5619 GB, free: 78.31 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.2844, allocations: 32.05 kB / 0.562 GB, free: 78.3 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2844, allocations: 12.83 kB / 0.562 GB, free: 78.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.2845, allocations: 16.84 kB / 0.562 GB, free: 78.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.2846, allocations: 16.56 kB / 0.562 GB, free: 78.3 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.2846, allocations: 24.66 kB / 0.562 GB, free: 78.3 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003258/0.2849, allocations: 401.5 kB / 0.5624 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003709/0.2853, allocations: 0.6045 MB / 0.563 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001194/0.2854, allocations: 146.5 kB / 0.5631 GB, free: 77.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.496e-05/0.2855, allocations: 82.31 kB / 0.5632 GB, free: 77.58 MB / 410.8 MB Notification: Performance of Backend: time 2.2e-07/0.2855, allocations: 0.9688 kB / 0.5632 GB, free: 77.58 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.286, allocations: 486.7 kB / 0.5637 GB, free: 77.24 MB / 410.8 MB Notification: Performance of SimCode: time 0.007665/0.2936, allocations: 1.363 MB / 0.565 GB, free: 76.29 MB / 410.8 MB Notification: Performance of Templates: time 0.008022/0.3017, allocations: 5.545 MB / 0.5704 GB, free: 75.11 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7533349823206663]