Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.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.001327/0.001327, allocations: 87.66 kB / 20.19 MB, free: 4.352 MB / 18.57 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.001455/0.001455, allocations: 169 kB / 23.5 MB, free: 1.047 MB / 18.57 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.9886/0.9886, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.626/1.626, allocations: 273.5 MB / 0.5213 GB, free: 14.89 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0.875 kB / 0.6472 GB, free: 38.61 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.597e-05, allocations: 2.312 kB / 0.6472 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C): time 0.003911/0.003937, allocations: 2.901 MB / 0.65 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.005178, allocations: 0.6754 MB / 0.6507 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.005314, allocations: 5.5 kB / 0.6507 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.005469, allocations: 38.28 kB / 0.6507 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.005729, allocations: 106.9 kB / 0.6508 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.006015, allocations: 74.7 kB / 0.6509 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.006423, allocations: 364.4 kB / 0.6512 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.0066, allocations: 57.31 kB / 0.6513 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.006843, allocations: 191.6 kB / 0.6515 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.007112, allocations: 113.2 kB / 0.6516 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.007158, allocations: 28.25 kB / 0.6516 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.007208, allocations: 24.53 kB / 0.6516 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.007254, allocations: 54.42 kB / 0.6517 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.007385, allocations: 107.8 kB / 0.6518 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.00768, allocations: 209.7 kB / 0.652 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007683, allocations: 0 / 0.652 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.173e-06/0.007684, allocations: 0 / 0.652 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.00769, allocations: 0 / 0.652 GB, free: 35.68 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000856/0.008546, allocations: 0.6734 MB / 0.6526 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.008596, allocations: 8.875 kB / 0.6527 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.008704, allocations: 49.33 kB / 0.6527 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.008974, allocations: 206.3 kB / 0.6529 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.009001, allocations: 18.25 kB / 0.6529 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.009056, allocations: 19.75 kB / 0.6529 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.009474, allocations: 266.2 kB / 0.6532 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.009493, allocations: 7.312 kB / 0.6532 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.009516, allocations: 7.938 kB / 0.6532 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.009527, allocations: 1.844 kB / 0.6532 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.009781, allocations: 164.8 kB / 0.6534 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01082, allocations: 0.7455 MB / 0.6541 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.0111, allocations: 183.7 kB / 0.6543 GB, free: 33.9 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.01123, allocations: 110 kB / 0.6544 GB, free: 33.82 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.01125, allocations: 4.188 kB / 0.6544 GB, free: 33.82 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.01156, allocations: 326.6 kB / 0.6547 GB, free: 33.55 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.01156, allocations: 0 / 0.6547 GB, free: 33.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35): time 0.001475/0.01304, allocations: 0.9383 MB / 0.6556 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.0131, allocations: 221.3 kB / 0.6558 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.01331, allocations: 276.7 kB / 0.6561 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.01334, allocations: 38.05 kB / 0.6561 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.01342, allocations: 194.2 kB / 0.6563 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.244e-05/0.01351, allocations: 125.4 kB / 0.6564 GB, free: 32.14 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.01362, allocations: 74.03 kB / 0.6565 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.01371, allocations: 0.5136 MB / 0.657 GB, free: 31.58 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.01393, allocations: 160.8 kB / 0.6571 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.01419, allocations: 305 kB / 0.6574 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.0148, allocations: 0.5256 MB / 0.6579 GB, free: 30.67 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.01481, allocations: 0.5625 kB / 0.6579 GB, free: 30.67 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007111/0.01552, allocations: 0.4895 MB / 0.6584 GB, free: 30.35 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.01557, allocations: 88.77 kB / 0.6585 GB, free: 30.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.01558, allocations: 4.281 kB / 0.6585 GB, free: 30.25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.01561, allocations: 9.031 kB / 0.6585 GB, free: 30.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.01597, allocations: 91.42 kB / 0.6586 GB, free: 30.24 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.01599, allocations: 5.562 kB / 0.6586 GB, free: 30.24 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.01618, allocations: 23.62 kB / 0.6586 GB, free: 30.23 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.01622, allocations: 21.64 kB / 0.6587 GB, free: 30.23 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,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 (51): * Single equations (assignments): 48 * 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.0002856/0.0165, allocations: 291.7 kB / 0.6589 GB, free: 29.96 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.01657, allocations: 41.89 kB / 0.659 GB, free: 29.95 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.01663, allocations: 31.19 kB / 0.659 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.01664, allocations: 3.188 kB / 0.659 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01664, allocations: 4.656 kB / 0.659 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.01669, allocations: 26.25 kB / 0.659 GB, free: 29.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.01675, allocations: 13.05 kB / 0.6591 GB, free: 29.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.01688, allocations: 16.38 kB / 0.6591 GB, free: 29.89 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.01699, allocations: 26.88 kB / 0.6591 GB, free: 29.89 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007506/0.01774, allocations: 0.5082 MB / 0.6596 GB, free: 29.55 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007955/0.01853, allocations: 0.7813 MB / 0.6604 GB, free: 28.96 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001983/0.01873, allocations: 154.5 kB / 0.6605 GB, free: 28.87 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001474/0.01888, allocations: 194.4 kB / 0.6607 GB, free: 28.74 MB / 0.5262 GB Notification: Performance of Backend: time 4.41e-07/0.01888, allocations: 1.375 kB / 0.6607 GB, free: 28.74 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0008086/0.01969, allocations: 486.5 kB / 0.6612 GB, free: 28.34 MB / 0.5262 GB Notification: Performance of SimCode: time 0.002571/0.02226, allocations: 1.582 MB / 0.6627 GB, free: 27.03 MB / 0.5262 GB Notification: Performance of Templates: time 0.008969/0.03123, allocations: 4.487 MB / 0.6671 GB, free: 26.69 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.889074814971536]