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.001134/0.001134, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.00265, allocations: 455.9 kB / 10.35 MB, free: 348 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.001168/0.001168, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002562, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1196/1.163, allocations: 53.66 MB / 243.3 MB, free: 15.55 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.9067/0.9067, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04566/0.9523, allocations: 21.05 MB / 0.5433 GB, free: 31.71 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.954e-06/1.954e-06, allocations: 0 / 0.5447 GB, free: 30.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.94e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil): time 0.002904/0.002934, allocations: 2.961 MB / 0.5476 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005891/0.008824, allocations: 6.778 MB / 0.5542 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.009129, allocations: 0 / 0.5542 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.009267, allocations: 39.58 kB / 0.5542 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.009546, allocations: 126.9 kB / 0.5543 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.009804, allocations: 75.83 kB / 0.5544 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.0101, allocations: 397.9 kB / 0.5548 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.01027, allocations: 58.84 kB / 0.5548 GB, free: 19.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.01052, allocations: 242.6 kB / 0.5551 GB, free: 19.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.01073, allocations: 123.6 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.01077, allocations: 24 kB / 0.5552 GB, free: 19.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.776e-05/0.0108, allocations: 28 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.01084, allocations: 39.81 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.393e-05/0.01093, allocations: 91.81 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.01116, allocations: 207.2 kB / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.01118, allocations: 0 / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.01118, allocations: 4 kB / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.01119, allocations: 0 / 0.5556 GB, free: 19.08 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.0007406/0.01193, allocations: 0.6282 MB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.01198, allocations: 15.89 kB / 0.5562 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.01204, allocations: 40.89 kB / 0.5562 GB, free: 18.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.01228, allocations: 193.5 kB / 0.5564 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.0123, allocations: 12.75 kB / 0.5564 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.01234, allocations: 32.33 kB / 0.5565 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.01261, allocations: 244.6 kB / 0.5567 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.01262, allocations: 0 / 0.5567 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.01264, allocations: 8 kB / 0.5567 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.01265, allocations: 4 kB / 0.5567 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.01279, allocations: 138.6 kB / 0.5568 GB, free: 17.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.01351, allocations: 0.5191 MB / 0.5574 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.01379, allocations: 155.6 kB / 0.5575 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.01384, allocations: 104.5 kB / 0.5576 GB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.01386, allocations: 11.94 kB / 0.5576 GB, free: 16.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.0141, allocations: 309.8 kB / 0.5579 GB, free: 16.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.775e-06/0.0141, allocations: 3.938 kB / 0.5579 GB, free: 16.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009029/0.01501, allocations: 0.8183 MB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.01508, allocations: 277 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.0152, allocations: 229 kB / 0.5592 GB, free: 15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01522, allocations: 33.7 kB / 0.5592 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3453/0.3605, allocations: 136.7 kB / 0.5594 GB, free: 79.9 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.3607, allocations: 114.3 kB / 0.5595 GB, free: 79.86 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/0.3608, allocations: 79.55 kB / 0.5595 GB, free: 79.84 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.3608, allocations: 344.9 kB / 0.5599 GB, free: 79.53 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.361, allocations: 146.1 kB / 0.56 GB, free: 79.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3611, allocations: 247.4 kB / 0.5602 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.3614, allocations: 342.7 kB / 0.5606 GB, free: 78.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3614, allocations: 2.281 kB / 0.5606 GB, free: 78.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003981/0.3618, allocations: 387.8 kB / 0.5609 GB, free: 78.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.3618, allocations: 93.02 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3619, allocations: 4.781 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3619, allocations: 4.406 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.3623, allocations: 108.3 kB / 0.5611 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3623, allocations: 7.547 kB / 0.5611 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3625, allocations: 20.78 kB / 0.5612 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3625, allocations: 15.94 kB / 0.5612 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.0002182/0.3627, allocations: 206.1 kB / 0.5614 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3628, allocations: 31.02 kB / 0.5614 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.3628, allocations: 39.09 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3628, allocations: 4.562 kB / 0.5615 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3628, allocations: 2.188 kB / 0.5615 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3628, allocations: 2.562 kB / 0.5615 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.3635, allocations: 0.5162 MB / 0.562 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3635, allocations: 3.672 kB / 0.562 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.3638, allocations: 74.52 kB / 0.562 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.3638, allocations: 27.36 kB / 0.5621 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3638, allocations: 1.969 kB / 0.5621 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3639, allocations: 10.03 kB / 0.5621 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3639, allocations: 5.656 kB / 0.5621 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3639, allocations: 0 / 0.5621 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.3644, allocations: 0.5233 MB / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3645, allocations: 10.2 kB / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3646, allocations: 16.39 kB / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.3647, allocations: 26.09 kB / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3647, allocations: 11.64 kB / 0.5627 GB, free: 77.78 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.3648, allocations: 82.94 kB / 0.5627 GB, free: 77.77 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3648, allocations: 1.094 kB / 0.5627 GB, free: 77.77 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002613/0.365, allocations: 84.16 kB / 0.5628 GB, free: 77.77 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.0001378/0.3652, allocations: 109 kB / 0.5629 GB, free: 77.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.3655, allocations: 495.9 kB / 0.5634 GB, free: 77.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/0.3655, allocations: 3.25 kB / 0.5634 GB, free: 77.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3657, allocations: 270.6 kB / 0.5636 GB, free: 77.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3661, allocations: 131.4 kB / 0.5638 GB, free: 77.14 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/0.3738, allocations: 0.7349 MB / 0.5645 GB, free: 76.77 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.941e-05/0.3739, allocations: 94.09 kB / 0.5646 GB, free: 76.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000186/0.374, allocations: 33.97 kB / 0.5646 GB, free: 76.69 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3743, allocations: 149.2 kB / 0.5648 GB, free: 76.64 MB / 410.8 MB Notification: Performance of SimCode: time 1.493e-06/0.3743, allocations: 0.5625 kB / 0.5648 GB, free: 76.64 MB / 410.8 MB Notification: Performance of Templates: time 0.008609/0.3829, allocations: 5.251 MB / 0.5699 GB, free: 75.54 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: 4.203189357183874]