Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.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.001821/0.001821, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001931/0.001931, allocations: 214.4 kB / 22.25 MB, free: 3.562 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.864/1.864, allocations: 230.6 MB / 256 MB, free: 9.59 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.476/1.476, allocations: 316.7 MB / 0.6144 GB, free: 93.13 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_Bouillon1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference") [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.003768/0.003768, allocations: 73.3 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1889, allocations: 73.99 MB / 0.8472 GB, free: 4.957 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference): time 0.004459/0.1933, allocations: 2.297 MB / 0.8495 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3472/0.5406, allocations: 6.521 MB / 0.8558 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.5408, allocations: 2.188 kB / 0.8558 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.541, allocations: 27 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.5412, allocations: 84.34 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.5415, allocations: 52.31 kB / 0.856 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.5417, allocations: 256.1 kB / 0.8562 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.5419, allocations: 34.19 kB / 0.8563 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.542, allocations: 103.3 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.5422, allocations: 95.41 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.5422, allocations: 18.59 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.38e-05/0.5423, allocations: 18.31 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.5423, allocations: 35.84 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.5424, allocations: 93.7 kB / 0.8566 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.5427, allocations: 201.6 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5427, allocations: 4.719 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5427, allocations: 0 / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.5427, allocations: 0 / 0.8568 GB, free: 21.84 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007803/0.5435, allocations: 0.4884 MB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5435, allocations: 8.031 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.5436, allocations: 23.8 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.5438, allocations: 188 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5438, allocations: 10.77 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.5438, allocations: 20.48 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.5442, allocations: 189.8 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5442, allocations: 2.156 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.5442, allocations: 6.062 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5442, allocations: 2.094 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.5445, allocations: 149.3 kB / 0.8579 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.5452, allocations: 484.8 kB / 0.8583 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.5457, allocations: 170.8 kB / 0.8585 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.5458, allocations: 100.5 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.5458, allocations: 1.656 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.5461, allocations: 231.4 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.5461, allocations: 0.5625 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001269/0.5474, allocations: 0.6991 MB / 0.8595 GB, free: 20.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.5474, allocations: 134.4 kB / 0.8596 GB, free: 20.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.5476, allocations: 217.6 kB / 0.8598 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5476, allocations: 32.08 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.5477, allocations: 135.4 kB / 0.86 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.5477, allocations: 72.2 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.5478, allocations: 55.05 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.5479, allocations: 337.4 kB / 0.8604 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.5481, allocations: 142.4 kB / 0.8606 GB, free: 19.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.5483, allocations: 224.3 kB / 0.8608 GB, free: 19.24 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.5486, allocations: 284.3 kB / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5486, allocations: 0 / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006056/0.5493, allocations: 391.4 kB / 0.8614 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.5493, allocations: 62.89 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5493, allocations: 7.688 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.5493, allocations: 3.031 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.5496, allocations: 51.42 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.5496, allocations: 4.141 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.5498, allocations: 21.39 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.5499, allocations: 12 kB / 0.8616 GB, free: 18.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001754/0.55, allocations: 178.7 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.5501, allocations: 22.27 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.5502, allocations: 32.64 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5502, allocations: 2.406 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5502, allocations: 0 / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5502, allocations: 2.984 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/0.551, allocations: 0.5436 MB / 0.8623 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.551, allocations: 0.7188 kB / 0.8623 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.5513, allocations: 42.58 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5513, allocations: 0 / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.5513, allocations: 7.969 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5513, allocations: 4.594 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5513, allocations: 2.562 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.5521, allocations: 497 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.5522, allocations: 18.86 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.5522, allocations: 11.28 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.5525, allocations: 14.88 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5526, allocations: 17.75 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.5526, allocations: 14.62 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001589/0.5528, allocations: 159 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5528, allocations: 0.7188 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004818/0.5533, allocations: 55.09 kB / 0.8632 GB, free: 18 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001143/0.5534, allocations: 114.2 kB / 0.8633 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006754/0.554, allocations: 381.1 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.554, allocations: 4.719 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.5543, allocations: 171.3 kB / 0.8638 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.555, allocations: 74.36 kB / 0.8639 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.5565, allocations: 0.6806 MB / 0.8645 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.5567, allocations: 128.4 kB / 0.8646 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.5568, allocations: 23.91 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.5569, allocations: 21.94 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of SimCode: time 6.51e-07/0.5569, allocations: 0 / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of Templates: time 0.01063/0.5675, allocations: 3.642 MB / 0.8682 GB, free: 16.85 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.952402319991961]