Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_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.0006665/0.0006665, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.001859, 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.0009034/0.0009034, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001943, 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.9614/0.9614, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09687/1.058, 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.7889/0.7889, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03427/0.8232, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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_Schoemaker2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.083e-05, allocations: 14.19 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference): time 0.003806/0.003827, allocations: 3.297 MB / 0.5478 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.008576, allocations: 6.797 MB / 0.5544 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.008822, allocations: 0 / 0.5544 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.00893, allocations: 47.52 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.009153, allocations: 127 kB / 0.5546 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.009352, allocations: 87.77 kB / 0.5547 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.009657, allocations: 437.8 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.009798, allocations: 73.33 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.01006, allocations: 262.6 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.01026, allocations: 131.6 kB / 0.5555 GB, free: 19.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.01029, allocations: 35.94 kB / 0.5556 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.254e-05/0.01033, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.01036, allocations: 47.81 kB / 0.5557 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.01044, allocations: 103.8 kB / 0.5558 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.01067, allocations: 219.2 kB / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.01068, allocations: 0 / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01068, allocations: 3.984 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.0107, allocations: 0 / 0.556 GB, free: 18.84 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.0006792/0.01138, allocations: 0.6473 MB / 0.5566 GB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.01141, allocations: 15.84 kB / 0.5566 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.01147, allocations: 36.91 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.01169, allocations: 201.5 kB / 0.5568 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.01171, allocations: 12.88 kB / 0.5569 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.01175, allocations: 32.31 kB / 0.5569 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.01197, allocations: 246.2 kB / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01198, allocations: 0 / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.01199, allocations: 8 kB / 0.5571 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.012, allocations: 8 kB / 0.5571 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.01211, allocations: 142.5 kB / 0.5573 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.01265, allocations: 469.9 kB / 0.5577 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.01289, allocations: 182.1 kB / 0.5579 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.01295, allocations: 99.14 kB / 0.558 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.01297, allocations: 11.94 kB / 0.558 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.01318, allocations: 335.3 kB / 0.5583 GB, free: 16.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.01318, allocations: 0 / 0.5583 GB, free: 16.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008975/0.01407, allocations: 0.8307 MB / 0.5591 GB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.01414, allocations: 273 kB / 0.5594 GB, free: 14.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2642/0.2784, allocations: 234 kB / 0.5596 GB, free: 79.95 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.2785, allocations: 38.08 kB / 0.5596 GB, free: 79.92 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.2785, allocations: 136.7 kB / 0.5598 GB, free: 79.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.2786, allocations: 124.6 kB / 0.5599 GB, free: 79.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.2787, allocations: 74.89 kB / 0.56 GB, free: 79.79 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.2787, allocations: 345.8 kB / 0.5603 GB, free: 79.47 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-05/0.2788, allocations: 142.9 kB / 0.5604 GB, free: 79.37 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2789, allocations: 256.1 kB / 0.5607 GB, free: 79.14 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.2791, allocations: 336.9 kB / 0.561 GB, free: 78.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2791, allocations: 1.219 kB / 0.561 GB, free: 78.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002882/0.2794, allocations: 392.5 kB / 0.5614 GB, free: 78.67 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2795, allocations: 93.09 kB / 0.5615 GB, free: 78.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2795, allocations: 4.281 kB / 0.5615 GB, free: 78.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2795, allocations: 4.75 kB / 0.5615 GB, free: 78.57 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.2798, allocations: 112.5 kB / 0.5616 GB, free: 78.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2798, allocations: 6.469 kB / 0.5616 GB, free: 78.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.2799, allocations: 17.75 kB / 0.5616 GB, free: 78.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2799, allocations: 15.48 kB / 0.5616 GB, free: 78.57 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.0001581/0.2801, allocations: 211.8 kB / 0.5618 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.2801, allocations: 39.59 kB / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.2802, allocations: 32.16 kB / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2802, allocations: 1.875 kB / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2802, allocations: 1.125 kB / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.2803, allocations: 32.41 kB / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2803, allocations: 14.94 kB / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.2803, allocations: 13.75 kB / 0.562 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.2804, allocations: 20.56 kB / 0.562 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.2805, allocations: 27.11 kB / 0.562 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003543/0.2808, allocations: 396.9 kB / 0.5624 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003574/0.2812, allocations: 0.6017 MB / 0.563 GB, free: 77.74 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001096/0.2813, allocations: 150.6 kB / 0.5631 GB, free: 77.67 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.179e-05/0.2814, allocations: 80.61 kB / 0.5632 GB, free: 77.66 MB / 410.8 MB Notification: Performance of Backend: time 6.31e-07/0.2814, allocations: 4.609 kB / 0.5632 GB, free: 77.66 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.2818, allocations: 487 kB / 0.5637 GB, free: 77.32 MB / 410.8 MB Notification: Performance of SimCode: time 0.007771/0.2896, allocations: 1.362 MB / 0.565 GB, free: 76.36 MB / 410.8 MB Notification: Performance of Templates: time 0.007726/0.2973, allocations: 5.556 MB / 0.5704 GB, free: 75.18 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.793697338551283]