Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.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.00128/0.00128, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001415/0.001415, allocations: 165.9 kB / 23.21 MB, free: 1.336 MB / 18.57 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.9459/0.9459, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.6808/0.6808, allocations: 291.2 MB / 0.5382 GB, free: 51.77 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.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.119e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil): time 0.002866/0.002907, allocations: 2.719 MB / 0.7001 GB, free: 7.613 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.008147, allocations: 6.6 MB / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.008398, allocations: 0 / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.008576, allocations: 43.56 kB / 0.7065 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.008859, allocations: 123 kB / 0.7067 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.009154, allocations: 75.77 kB / 0.7067 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.009445, allocations: 393.9 kB / 0.7071 GB, free: 388 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.009647, allocations: 56.88 kB / 0.7072 GB, free: 336 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.009865, allocations: 207.5 kB / 0.7074 GB, free: 128 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.01014, allocations: 115.6 kB / 0.7075 GB, free: 12 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.323e-05/0.01021, allocations: 28.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.01026, allocations: 24 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.01032, allocations: 59.72 kB / 0.7076 GB, free: 15.9 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.01045, allocations: 115.7 kB / 0.7077 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.01084, allocations: 295.1 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01085, allocations: 4 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.214e-06/0.01085, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.01086, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0011/0.01196, allocations: 0.5885 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.01202, allocations: 12.03 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.01209, allocations: 32.75 kB / 0.7086 GB, free: 14.81 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.01237, allocations: 216.7 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.0124, allocations: 24.73 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.01244, allocations: 16.38 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.01286, allocations: 296.4 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.01288, allocations: 7.953 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.0129, allocations: 12 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01291, allocations: 4 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.01324, allocations: 236.4 kB / 0.7094 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.01426, allocations: 0.6756 MB / 0.71 GB, free: 13.24 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.01468, allocations: 238.7 kB / 0.7103 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.01483, allocations: 152.4 kB / 0.7104 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.01484, allocations: 4 kB / 0.7104 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.0152, allocations: 359.9 kB / 0.7107 GB, free: 12.42 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.905e-06/0.0152, allocations: 0 / 0.7107 GB, free: 12.42 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001387/0.01659, allocations: 1.089 MB / 0.7118 GB, free: 11.24 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000383/0.01697, allocations: 221.6 kB / 0.712 GB, free: 10.97 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.01717, allocations: 245.9 kB / 0.7123 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.01719, allocations: 33.7 kB / 0.7123 GB, free: 10.69 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.01729, allocations: 160.8 kB / 0.7124 GB, free: 10.52 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.01735, allocations: 115.1 kB / 0.7126 GB, free: 10.41 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.01743, allocations: 74.19 kB / 0.7126 GB, free: 10.33 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01754, allocations: 342.8 kB / 0.713 GB, free: 9.984 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.01775, allocations: 211.9 kB / 0.7132 GB, free: 9.758 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.01797, allocations: 315.1 kB / 0.7135 GB, free: 9.391 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.01833, allocations: 427.3 kB / 0.7139 GB, free: 8.906 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01833, allocations: 0 / 0.7139 GB, free: 8.906 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000509/0.01884, allocations: 0.5498 MB / 0.7144 GB, free: 8.312 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.0189, allocations: 95.75 kB / 0.7145 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.0189, allocations: 4 kB / 0.7145 GB, free: 8.199 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01892, allocations: 4 kB / 0.7145 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.0191, allocations: 79.83 kB / 0.7146 GB, free: 8.117 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.0191, allocations: 4 kB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.01922, allocations: 23.98 kB / 0.7146 GB, free: 8.09 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.01924, allocations: 20.14 kB / 0.7146 GB, free: 8.07 MB / 426.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0002115/0.01945, allocations: 219.1 kB / 0.7148 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.01948, allocations: 31.81 kB / 0.7149 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.01953, allocations: 38.89 kB / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01953, allocations: 0 / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.01954, allocations: 0 / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.01954, allocations: 0 / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.02028, allocations: 0.764 MB / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.02029, allocations: 3.984 kB / 0.7156 GB, free: 6.934 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.02044, allocations: 59.91 kB / 0.7157 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.02044, allocations: 3.938 kB / 0.7157 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.02046, allocations: 12 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.02046, allocations: 7.922 kB / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02046, allocations: 3.938 kB / 0.7157 GB, free: 6.848 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.02112, allocations: 0.7269 MB / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.02116, allocations: 27.86 kB / 0.7165 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.0212, allocations: 12 kB / 0.7165 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.02129, allocations: 15.98 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.02137, allocations: 31.89 kB / 0.7165 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.02139, allocations: 12 kB / 0.7165 GB, free: 5.965 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001206/0.02151, allocations: 181.2 kB / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02151, allocations: 0 / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002474/0.02176, allocations: 88 kB / 0.7168 GB, free: 5.703 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001266/0.02189, allocations: 128.8 kB / 0.7169 GB, free: 5.574 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.0224, allocations: 0.557 MB / 0.7175 GB, free: 4.949 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0224, allocations: 3.938 kB / 0.7175 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.02262, allocations: 306.3 kB / 0.7178 GB, free: 4.613 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.023, allocations: 88.5 kB / 0.7178 GB, free: 4.527 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.02449, allocations: 0.8164 MB / 0.7186 GB, free: 3.668 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.02459, allocations: 156.3 kB / 0.7188 GB, free: 3.492 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.02466, allocations: 36.44 kB / 0.7188 GB, free: 3.457 MB / 426.8 MB Notification: Performance of SimCode: time 1.012e-06/0.02466, allocations: 0 / 0.7188 GB, free: 3.457 MB / 426.8 MB Notification: Performance of Templates: time 0.1995/0.2242, allocations: 4.005 MB / 0.7227 GB, free: 36.85 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.763612220995128]