Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.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.0006892/0.0006892, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009363/0.001626, 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.0006903/0.0006903, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000844/0.001534, 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 1.001/1.001, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.109, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.813/0.813, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06/0.873, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.312e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil): time 0.004154/0.004177, allocations: 2.969 MB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007357/0.01153, allocations: 6.778 MB / 0.5541 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.01181, allocations: 4 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.01193, allocations: 39.56 kB / 0.5541 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.01226, allocations: 131 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.0125, allocations: 67.78 kB / 0.5543 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.01286, allocations: 397.9 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.01303, allocations: 54.88 kB / 0.5547 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.01334, allocations: 250.6 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.01369, allocations: 123.6 kB / 0.5551 GB, free: 19.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.01373, allocations: 32 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.01378, allocations: 24 kB / 0.5551 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.01382, allocations: 43.75 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.01393, allocations: 95.81 kB / 0.5553 GB, free: 19.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.01421, allocations: 195.3 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-05/0.01423, allocations: 0 / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01423, allocations: 4 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.01425, allocations: 0 / 0.5555 GB, free: 19.34 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.0008271/0.01508, allocations: 0.6282 MB / 0.5561 GB, free: 18.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.01511, allocations: 15.89 kB / 0.5561 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.01516, allocations: 40.03 kB / 0.5561 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.01534, allocations: 193.5 kB / 0.5563 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.01536, allocations: 20.73 kB / 0.5563 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.01539, allocations: 24.33 kB / 0.5564 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.01558, allocations: 240.1 kB / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01559, allocations: 0 / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.01561, allocations: 15.98 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.01561, allocations: 8 kB / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.01572, allocations: 137.8 kB / 0.5567 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.01624, allocations: 0.5116 MB / 0.5572 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.01641, allocations: 150.2 kB / 0.5574 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.01646, allocations: 104.5 kB / 0.5575 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.01647, allocations: 7.938 kB / 0.5575 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.01664, allocations: 319.3 kB / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.01664, allocations: 0 / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007471/0.01739, allocations: 0.7983 MB / 0.5586 GB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.01743, allocations: 225.6 kB / 0.5588 GB, free: 15.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.01752, allocations: 229 kB / 0.559 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.01754, allocations: 33.7 kB / 0.559 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.01757, allocations: 137.3 kB / 0.5592 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.01762, allocations: 119 kB / 0.5593 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.01767, allocations: 66.17 kB / 0.5593 GB, free: 14.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2731/0.2908, allocations: 349.4 kB / 0.5597 GB, free: 79.53 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.291, allocations: 142.4 kB / 0.5598 GB, free: 79.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.2911, allocations: 250 kB / 0.5601 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.2913, allocations: 348.2 kB / 0.5604 GB, free: 78.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2913, allocations: 0 / 0.5604 GB, free: 78.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003019/0.2916, allocations: 385.9 kB / 0.5608 GB, free: 78.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.2916, allocations: 90.89 kB / 0.5608 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2916, allocations: 5.172 kB / 0.5608 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2916, allocations: 5.406 kB / 0.5608 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.292, allocations: 106.6 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.292, allocations: 10.02 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.2921, allocations: 22.34 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2921, allocations: 15.5 kB / 0.561 GB, free: 78.63 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.0001632/0.2923, allocations: 208.1 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.2923, allocations: 33.11 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.2924, allocations: 38.17 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2924, allocations: 3.25 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2924, allocations: 1.938 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2924, allocations: 3.234 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.2929, allocations: 0.5162 MB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2929, allocations: 0 / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.2931, allocations: 73 kB / 0.5618 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.2931, allocations: 27.08 kB / 0.5619 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2931, allocations: 1.781 kB / 0.5619 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.2932, allocations: 10.03 kB / 0.5619 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2932, allocations: 4.391 kB / 0.5619 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2932, allocations: 2.734 kB / 0.5619 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.2935, allocations: 0.5236 MB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.2935, allocations: 14.34 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2936, allocations: 15.28 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.2937, allocations: 25.56 kB / 0.5625 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2937, allocations: 13.28 kB / 0.5625 GB, free: 77.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.2938, allocations: 80.22 kB / 0.5625 GB, free: 77.79 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2938, allocations: 1.281 kB / 0.5625 GB, free: 77.79 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000211/0.294, allocations: 83.84 kB / 0.5626 GB, free: 77.79 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 0.0001085/0.2941, allocations: 102.5 kB / 0.5627 GB, free: 77.72 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.2944, allocations: 489.5 kB / 0.5632 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.2944, allocations: 3.562 kB / 0.5632 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2946, allocations: 259.8 kB / 0.5634 GB, free: 77.17 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2949, allocations: 132.8 kB / 0.5636 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007538/0.3024, allocations: 0.744 MB / 0.5643 GB, free: 76.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.563e-05/0.3025, allocations: 96.34 kB / 0.5644 GB, free: 76.73 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.3027, allocations: 36.22 kB / 0.5644 GB, free: 76.73 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.3029, allocations: 149.1 kB / 0.5646 GB, free: 76.69 MB / 410.8 MB Notification: Performance of SimCode: time 1.493e-06/0.3029, allocations: 0 / 0.5646 GB, free: 76.69 MB / 410.8 MB Notification: Performance of Templates: time 0.00747/0.3104, allocations: 5.26 MB / 0.5697 GB, free: 75.61 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8629976511001587]