Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.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.001105/0.001105, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.001247/0.001247, allocations: 169 kB / 23.5 MB, free: 1.043 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.9684/0.9684, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.632/1.632, 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.Examples.PK_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") translateModel(Pharmacolibrary.Examples.PK_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 2.188 kB / 0.647 GB, free: 38.74 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.663e-05, allocations: 7.172 kB / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_2C_IVMidazolam): time 0.002633/0.002659, allocations: 2.673 MB / 0.6496 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003925, allocations: 1.196 MB / 0.6508 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.004036, allocations: 9.531 kB / 0.6508 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.00441, allocations: 211.4 kB / 0.651 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.004771, allocations: 246.5 kB / 0.6512 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.004965, allocations: 143.4 kB / 0.6513 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.00528, allocations: 425.6 kB / 0.6518 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.005402, allocations: 46.83 kB / 0.6518 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.005596, allocations: 235.6 kB / 0.652 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.005787, allocations: 185.7 kB / 0.6522 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.005821, allocations: 26.75 kB / 0.6522 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.005918, allocations: 68.69 kB / 0.6523 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.005995, allocations: 78.66 kB / 0.6524 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.006091, allocations: 112.8 kB / 0.6525 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.006389, allocations: 292.9 kB / 0.6528 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.006393, allocations: 0 / 0.6528 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006394, allocations: 3.938 kB / 0.6528 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.0064, allocations: 0 / 0.6528 GB, free: 35.46 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007108/0.007111, allocations: 0.7847 MB / 0.6535 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.007147, allocations: 9.562 kB / 0.6535 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.007231, allocations: 54.52 kB / 0.6536 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.007469, allocations: 244.9 kB / 0.6538 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.007491, allocations: 13.47 kB / 0.6538 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.007528, allocations: 28.83 kB / 0.6539 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.007821, allocations: 271.8 kB / 0.6541 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.007836, allocations: 2.375 kB / 0.6541 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.007853, allocations: 6.656 kB / 0.6541 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.007862, allocations: 4.281 kB / 0.6541 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.008036, allocations: 160.5 kB / 0.6543 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.008712, allocations: 0.6711 MB / 0.6549 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.008975, allocations: 226.8 kB / 0.6552 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.009068, allocations: 122.5 kB / 0.6553 GB, free: 33.52 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.009089, allocations: 9.75 kB / 0.6553 GB, free: 33.52 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.009343, allocations: 374.5 kB / 0.6556 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=36): time 1.933e-06/0.009345, allocations: 3.656 kB / 0.6556 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of matching and sorting (n=38): time 0.001309/0.01065, allocations: 1.03 MB / 0.6566 GB, free: 32.51 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.0107, allocations: 246.8 kB / 0.6569 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.01093, allocations: 396.1 kB / 0.6573 GB, free: 32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.01095, allocations: 37.89 kB / 0.6573 GB, free: 31.96 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.01103, allocations: 230.2 kB / 0.6575 GB, free: 31.76 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.0111, allocations: 120.9 kB / 0.6576 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.0112, allocations: 81.36 kB / 0.6577 GB, free: 31.61 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.01126, allocations: 0.5269 MB / 0.6582 GB, free: 31.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.01138, allocations: 167.8 kB / 0.6584 GB, free: 30.98 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.01152, allocations: 293.4 kB / 0.6587 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.01184, allocations: 0.5298 MB / 0.6592 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01184, allocations: 0 / 0.6592 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003856/0.01222, allocations: 0.5089 MB / 0.6597 GB, free: 29.88 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.01226, allocations: 93.98 kB / 0.6598 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01227, allocations: 4.969 kB / 0.6598 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01229, allocations: 4.219 kB / 0.6598 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.0125, allocations: 90.56 kB / 0.6599 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.01251, allocations: 4.219 kB / 0.6599 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.01261, allocations: 20.23 kB / 0.6599 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.01263, allocations: 19.78 kB / 0.6599 GB, free: 29.76 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: 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 central.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 central.rising:DISCRETE(fixed = true protected = true ) type: Boolean peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.CTT_MidazolamC.nextTimeEvent,$whenCondition1,CTT_MidazolamC.nextTimeEventScaled,$PRE.CTT_MidazolamC.nextTimeEventScaled,CTT_MidazolamC.nextTimeEvent,$PRE.central.rising,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * 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.000184/0.01282, allocations: 293.7 kB / 0.6602 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.01287, allocations: 61.41 kB / 0.6602 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.01303, allocations: 115.9 kB / 0.6604 GB, free: 29.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.01303, allocations: 1.562 kB / 0.6604 GB, free: 29.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01303, allocations: 3.938 kB / 0.6604 GB, free: 29.39 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.01306, allocations: 36.62 kB / 0.6604 GB, free: 29.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.0131, allocations: 14.88 kB / 0.6604 GB, free: 29.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.01319, allocations: 18.52 kB / 0.6604 GB, free: 29.36 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.01326, allocations: 33.72 kB / 0.6605 GB, free: 29.36 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004821/0.01375, allocations: 0.6758 MB / 0.6611 GB, free: 28.88 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005325/0.01428, allocations: 0.9514 MB / 0.662 GB, free: 28.18 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001265/0.0144, allocations: 174.6 kB / 0.6622 GB, free: 28.07 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001311/0.01454, allocations: 261.6 kB / 0.6625 GB, free: 27.93 MB / 0.5262 GB Notification: Performance of Backend: time 3.5e-07/0.01454, allocations: 0 / 0.6625 GB, free: 27.93 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.01595, allocations: 0.8232 MB / 0.6633 GB, free: 27.44 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001576/0.01753, allocations: 1.674 MB / 0.6649 GB, free: 26.06 MB / 0.5262 GB Notification: Performance of Templates: time 0.007762/0.02529, allocations: 5.448 MB / 0.6702 GB, free: 25.61 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8215617700479925]