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.001023/0.001023, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001743/0.002766, 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.001676/0.001676, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.00309, 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 0.9671/0.9671, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09975/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7978/0.7978, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03056/0.8284, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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 1.202e-06/1.202e-06, allocations: 0 / 0.5447 GB, free: 30.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.208e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil): time 0.002216/0.002228, allocations: 2.964 MB / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.006166, allocations: 6.778 MB / 0.5542 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.006304, allocations: 4 kB / 0.5542 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.843e-05/0.006383, allocations: 35.58 kB / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.006545, allocations: 134.9 kB / 0.5544 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.006696, allocations: 79.77 kB / 0.5545 GB, free: 20 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.006942, allocations: 393.9 kB / 0.5549 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.007087, allocations: 62.84 kB / 0.5549 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.007335, allocations: 238.6 kB / 0.5551 GB, free: 19.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.007517, allocations: 119.7 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.007546, allocations: 31.94 kB / 0.5553 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.182e-05/0.007578, allocations: 24 kB / 0.5553 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.00761, allocations: 35.88 kB / 0.5553 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.007679, allocations: 99.8 kB / 0.5554 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.007867, allocations: 207.2 kB / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.007876, allocations: 0 / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007877, allocations: 0 / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.007884, allocations: 0 / 0.5556 GB, free: 18.82 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006369/0.008521, allocations: 0.6282 MB / 0.5563 GB, free: 18.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.008555, allocations: 11.89 kB / 0.5563 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.008609, allocations: 40.91 kB / 0.5563 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.008765, allocations: 193.5 kB / 0.5565 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.008784, allocations: 16.75 kB / 0.5565 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.008813, allocations: 28.31 kB / 0.5565 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.008997, allocations: 244.6 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.009009, allocations: 4 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.009021, allocations: 4 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.009027, allocations: 12 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.009135, allocations: 130.6 kB / 0.5569 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.009631, allocations: 0.5152 MB / 0.5574 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.00979, allocations: 166.7 kB / 0.5576 GB, free: 16.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.009837, allocations: 104.5 kB / 0.5577 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.009847, allocations: 7.938 kB / 0.5577 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.01, allocations: 315.4 kB / 0.558 GB, free: 16.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.362e-06/0.01, allocations: 0 / 0.558 GB, free: 16.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006561/0.01066, allocations: 0.8195 MB / 0.5588 GB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.0107, allocations: 281 kB / 0.559 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3114/0.3221, allocations: 218.5 kB / 0.5593 GB, free: 79.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-05/0.3222, allocations: 35.27 kB / 0.5593 GB, free: 79.56 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.3222, allocations: 140.4 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/0.3223, allocations: 117.8 kB / 0.5595 GB, free: 79.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.3224, allocations: 71.17 kB / 0.5596 GB, free: 79.42 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.3225, allocations: 346.1 kB / 0.5599 GB, free: 79.11 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3226, allocations: 147.4 kB / 0.5601 GB, free: 79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3228, allocations: 247.7 kB / 0.5603 GB, free: 78.77 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.323, allocations: 350.3 kB / 0.5606 GB, free: 78.52 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.323, allocations: 1.062 kB / 0.5606 GB, free: 78.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003109/0.3233, allocations: 384.6 kB / 0.561 GB, free: 78.29 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.3233, allocations: 91.78 kB / 0.5611 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3233, allocations: 2.344 kB / 0.5611 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3233, allocations: 5.219 kB / 0.5611 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.3237, allocations: 107.3 kB / 0.5612 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3237, allocations: 7.234 kB / 0.5612 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3238, allocations: 21.91 kB / 0.5612 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.3238, allocations: 11.75 kB / 0.5612 GB, free: 78.2 MB / 410.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.000141/0.3239, allocations: 210.2 kB / 0.5614 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.324, allocations: 38.16 kB / 0.5615 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.324, allocations: 32 kB / 0.5615 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.324, allocations: 3.875 kB / 0.5615 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.324, allocations: 1.688 kB / 0.5615 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.324, allocations: 2.453 kB / 0.5615 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.3245, allocations: 0.5279 MB / 0.562 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3245, allocations: 0 / 0.562 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.3247, allocations: 71.72 kB / 0.5621 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.3248, allocations: 25.92 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3248, allocations: 1.156 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3248, allocations: 12.2 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3248, allocations: 1.938 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3248, allocations: 1.188 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3251, allocations: 0.5197 MB / 0.5627 GB, free: 77.36 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.3252, allocations: 14.17 kB / 0.5627 GB, free: 77.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.3253, allocations: 15.44 kB / 0.5627 GB, free: 77.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.3253, allocations: 27.11 kB / 0.5627 GB, free: 77.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3253, allocations: 7.078 kB / 0.5627 GB, free: 77.36 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.3254, allocations: 83.31 kB / 0.5628 GB, free: 77.35 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.3254, allocations: 0 / 0.5628 GB, free: 77.35 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000203/0.3256, allocations: 90.88 kB / 0.5629 GB, free: 77.35 MB / 410.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 9.85e-05/0.3257, allocations: 97.16 kB / 0.563 GB, free: 77.28 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.326, allocations: 491.2 kB / 0.5634 GB, free: 76.92 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.326, allocations: 6.344 kB / 0.5634 GB, free: 76.92 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3261, allocations: 282.5 kB / 0.5637 GB, free: 76.72 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3265, allocations: 0.6559 MB / 0.5644 GB, free: 76.09 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/0.3338, allocations: 0.7201 MB / 0.5651 GB, free: 75.72 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.238e-05/0.3339, allocations: 96.23 kB / 0.5652 GB, free: 75.65 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000111/0.334, allocations: 34.19 kB / 0.5652 GB, free: 75.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.3342, allocations: 151.9 kB / 0.5653 GB, free: 75.6 MB / 410.8 MB Notification: Performance of SimCode: time 7.01e-07/0.3342, allocations: 1.125 kB / 0.5653 GB, free: 75.6 MB / 410.8 MB Notification: Performance of Templates: time 0.007092/0.3413, allocations: 5.276 MB / 0.5705 GB, free: 74.5 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7740032570436597]