Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_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.001028/0.001028, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.00229, allocations: 435.8 kB / 10.33 MB, free: 368 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.001013/0.001013, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002238, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9608/0.9608, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1094/1.07, allocations: 53.65 MB / 243.2 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.8269/0.8269, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03303/0.86, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.087e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference): time 0.002428/0.002449, allocations: 2.492 MB / 0.5469 GB, free: 28.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00494/0.007388, allocations: 6.688 MB / 0.5535 GB, free: 21.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.007563, allocations: 11.94 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.007673, allocations: 23.72 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.007891, allocations: 79.33 kB / 0.5536 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.008088, allocations: 67.73 kB / 0.5536 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.008315, allocations: 262.6 kB / 0.5539 GB, free: 20.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.008433, allocations: 34.55 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.008616, allocations: 176.2 kB / 0.5541 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.008786, allocations: 83.72 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.008813, allocations: 24 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.008835, allocations: 16 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.008862, allocations: 27.88 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.008919, allocations: 67.86 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.009097, allocations: 135.5 kB / 0.5544 GB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.851e-05/0.009116, allocations: 4 kB / 0.5544 GB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.009117, allocations: 0 / 0.5544 GB, free: 20.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.009131, allocations: 0 / 0.5544 GB, free: 20.39 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.0006765/0.009807, allocations: 0.5015 MB / 0.5549 GB, free: 19.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.009848, allocations: 15.84 kB / 0.5549 GB, free: 19.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.009904, allocations: 20.92 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.0101, allocations: 187 kB / 0.5551 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.01012, allocations: 12.61 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.01015, allocations: 12.38 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.01034, allocations: 167.4 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01035, allocations: 0 / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.01036, allocations: 8 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.01037, allocations: 4 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.01045, allocations: 76.7 kB / 0.5554 GB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.01085, allocations: 361 kB / 0.5558 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.01102, allocations: 112.2 kB / 0.5559 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.01105, allocations: 54.55 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.01106, allocations: 4 kB / 0.5559 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.01121, allocations: 196.4 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.01121, allocations: 4 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005777/0.01178, allocations: 0.5081 MB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.01182, allocations: 136.5 kB / 0.5567 GB, free: 17.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.01192, allocations: 202 kB / 0.5569 GB, free: 17.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.01193, allocations: 33.7 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.01197, allocations: 124.4 kB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.012, allocations: 67.48 kB / 0.5571 GB, free: 17.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.01205, allocations: 59.16 kB / 0.5572 GB, free: 17.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.01209, allocations: 334.8 kB / 0.5575 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.01215, allocations: 93 kB / 0.5576 GB, free: 16.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.01222, allocations: 181.3 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.01233, allocations: 210.1 kB / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01233, allocations: 4.031 kB / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001865/0.01252, allocations: 260.2 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.01256, allocations: 66.2 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.01257, allocations: 6.656 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01259, allocations: 6.938 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.01276, allocations: 63.89 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01276, allocations: 8.219 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.01284, allocations: 15.94 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01286, allocations: 15.98 kB / 0.5584 GB, free: 15.89 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.0001261/0.01298, allocations: 165.6 kB / 0.5586 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.01301, allocations: 23.97 kB / 0.5586 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.01304, allocations: 17.97 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01305, allocations: 4 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01305, allocations: 0 / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01306, allocations: 7.984 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.01334, allocations: 381 kB / 0.559 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01334, allocations: 3.938 kB / 0.559 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.01348, allocations: 39.97 kB / 0.559 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.0135, allocations: 19.84 kB / 0.559 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0135, allocations: 0 / 0.559 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01352, allocations: 11.98 kB / 0.5591 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01352, allocations: 0 / 0.5591 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01352, allocations: 0 / 0.5591 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.0137, allocations: 357 kB / 0.5594 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01373, allocations: 11.31 kB / 0.5594 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.0138, allocations: 11.98 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.01385, allocations: 19.97 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2625/0.2764, allocations: 4.797 kB / 0.5594 GB, free: 79.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2765, allocations: 59.17 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2765, allocations: 2.875 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002937/0.2768, allocations: 53.06 kB / 0.5595 GB, free: 79.55 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.0001285/0.2769, allocations: 97.33 kB / 0.5596 GB, free: 79.49 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.2772, allocations: 306.8 kB / 0.5599 GB, free: 79.26 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.2772, allocations: 3.094 kB / 0.5599 GB, free: 79.26 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.2773, allocations: 142.5 kB / 0.5601 GB, free: 79.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2776, allocations: 87.12 kB / 0.5602 GB, free: 79.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.283, allocations: 0.5654 MB / 0.5607 GB, free: 78.89 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.283, allocations: 80.66 kB / 0.5608 GB, free: 78.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.883e-05/0.2831, allocations: 23.94 kB / 0.5608 GB, free: 78.82 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.2833, allocations: 119.1 kB / 0.5609 GB, free: 78.78 MB / 410.8 MB Notification: Performance of SimCode: time 1.102e-06/0.2833, allocations: 0 / 0.5609 GB, free: 78.78 MB / 410.8 MB Notification: Performance of Templates: time 0.006106/0.2894, allocations: 3.802 MB / 0.5646 GB, free: 78.62 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8106436328962445]