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.002536/0.002536, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.003012/0.003012, allocations: 209.9 kB / 22.25 MB, free: 3.574 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.736/1.736, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 178] 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 1.496/1.496, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003873/0.003873, allocations: 77.84 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1848, allocations: 73.99 MB / 0.8473 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil): time 0.005431/0.1902, allocations: 2.718 MB / 0.8499 GB, free: 2.117 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4014/0.5916, allocations: 6.594 MB / 0.8564 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.5919, allocations: 4.219 kB / 0.8564 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.5921, allocations: 39.25 kB / 0.8564 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.5924, allocations: 126.5 kB / 0.8565 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.5927, allocations: 71.34 kB / 0.8566 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.5931, allocations: 371.5 kB / 0.857 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.5933, allocations: 55.5 kB / 0.857 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.5935, allocations: 151.5 kB / 0.8572 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.5937, allocations: 133.1 kB / 0.8573 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.5938, allocations: 25.91 kB / 0.8573 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.5938, allocations: 23.97 kB / 0.8573 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.5939, allocations: 61.33 kB / 0.8574 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.594, allocations: 130.3 kB / 0.8575 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.5944, allocations: 288.7 kB / 0.8578 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5944, allocations: 0.8438 kB / 0.8578 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5944, allocations: 2.5 kB / 0.8578 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.5944, allocations: 0.7812 kB / 0.8578 GB, free: 21.82 MB / 490.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.001012/0.5954, allocations: 0.598 MB / 0.8584 GB, free: 21.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5954, allocations: 15.19 kB / 0.8584 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.5955, allocations: 35.81 kB / 0.8584 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.5958, allocations: 206 kB / 0.8586 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.5958, allocations: 15.56 kB / 0.8586 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.5959, allocations: 29.38 kB / 0.8587 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.5963, allocations: 286.9 kB / 0.8589 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5964, allocations: 7.203 kB / 0.8589 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.5964, allocations: 9.344 kB / 0.859 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5964, allocations: 3.719 kB / 0.859 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.5968, allocations: 235.1 kB / 0.8592 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.5979, allocations: 0.6773 MB / 0.8598 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.5984, allocations: 236.2 kB / 0.8601 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.5986, allocations: 149.2 kB / 0.8602 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.5987, allocations: 2.875 kB / 0.8602 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/0.5991, allocations: 364.6 kB / 0.8606 GB, free: 20.23 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.5991, allocations: 0.5 kB / 0.8606 GB, free: 20.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001845/0.6009, allocations: 1.083 MB / 0.8616 GB, free: 19.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.601, allocations: 221.2 kB / 0.8618 GB, free: 19.45 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.6013, allocations: 249.4 kB / 0.8621 GB, free: 19.34 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.6013, allocations: 37.12 kB / 0.8621 GB, free: 19.3 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.6014, allocations: 156.1 kB / 0.8622 GB, free: 19.2 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.6015, allocations: 118.9 kB / 0.8624 GB, free: 19.12 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.824e-05/0.6016, allocations: 70.42 kB / 0.8624 GB, free: 19.11 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.6016, allocations: 344.8 kB / 0.8628 GB, free: 18.79 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.6019, allocations: 204.8 kB / 0.863 GB, free: 18.69 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.6022, allocations: 322.4 kB / 0.8633 GB, free: 18.46 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.6028, allocations: 432.1 kB / 0.8637 GB, free: 18.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6028, allocations: 1.094 kB / 0.8637 GB, free: 18.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009266/0.6037, allocations: 0.5482 MB / 0.8642 GB, free: 17.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.6038, allocations: 90.03 kB / 0.8643 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6038, allocations: 4.031 kB / 0.8643 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.6038, allocations: 9.219 kB / 0.8643 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.6042, allocations: 86.27 kB / 0.8644 GB, free: 17.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.6042, allocations: 4.938 kB / 0.8644 GB, free: 17.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.6044, allocations: 26.77 kB / 0.8644 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.6045, allocations: 16.86 kB / 0.8644 GB, free: 17.82 MB / 490.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.0002314/0.6047, allocations: 221.7 kB / 0.8646 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.6048, allocations: 32.95 kB / 0.8647 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.6048, allocations: 31.28 kB / 0.8647 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6048, allocations: 2.281 kB / 0.8647 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6048, allocations: 2.344 kB / 0.8647 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6049, allocations: 4.922 kB / 0.8647 GB, free: 17.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.606, allocations: 0.7687 MB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.606, allocations: 1.984 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.6063, allocations: 52.41 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6063, allocations: 1.797 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.6063, allocations: 17.61 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.6063, allocations: 7.25 kB / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6063, allocations: 0 / 0.8655 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.6073, allocations: 0.7218 MB / 0.8663 GB, free: 16.88 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.6074, allocations: 27.17 kB / 0.8663 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.6074, allocations: 17.94 kB / 0.8663 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.6076, allocations: 15.42 kB / 0.8663 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.6077, allocations: 30.64 kB / 0.8663 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.6078, allocations: 14.59 kB / 0.8664 GB, free: 16.86 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001841/0.608, allocations: 179.5 kB / 0.8665 GB, free: 16.78 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.608, allocations: 1.219 kB / 0.8665 GB, free: 16.78 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004712/0.6084, allocations: 82.66 kB / 0.8666 GB, free: 16.78 MB / 490.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.00016/0.6086, allocations: 118.6 kB / 0.8667 GB, free: 16.69 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008254/0.6094, allocations: 0.5722 MB / 0.8673 GB, free: 16.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6094, allocations: 2.562 kB / 0.8673 GB, free: 16.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.6098, allocations: 304.4 kB / 0.8676 GB, free: 16.13 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.6103, allocations: 87.88 kB / 0.8677 GB, free: 16.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.612, allocations: 0.9336 MB / 0.8686 GB, free: 15.64 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.6122, allocations: 160.2 kB / 0.8687 GB, free: 15.55 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.6123, allocations: 34.67 kB / 0.8688 GB, free: 15.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.6124, allocations: 28.08 kB / 0.8688 GB, free: 15.54 MB / 490.8 MB Notification: Performance of SimCode: time 1.092e-06/0.6124, allocations: 0 / 0.8688 GB, free: 15.54 MB / 490.8 MB Notification: Performance of Templates: time 0.01181/0.6242, allocations: 4.997 MB / 0.8737 GB, free: 15.03 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.739306127186865]