Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.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.0007594/0.0007594, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001781, allocations: 440 kB / 10.41 MB, free: 284 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.000779/0.000779, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002254, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.058/1.058, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09819/1.156, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7435/0.7435, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02964/0.7731, allocations: 21.05 MB / 0.5433 GB, free: 31.52 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.Examples.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") translateModel(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5447 GB, free: 30.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.216e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide): time 0.003063/0.003085, allocations: 2.486 MB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.00407, allocations: 0.6307 MB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004172, allocations: 0 / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.084e-05/0.004233, allocations: 23.77 kB / 0.5478 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.004411, allocations: 91.27 kB / 0.5479 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.004577, allocations: 47.88 kB / 0.5479 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.004815, allocations: 274.6 kB / 0.5482 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.00494, allocations: 38.47 kB / 0.5482 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.005174, allocations: 176.2 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.005376, allocations: 83.78 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.005409, allocations: 16 kB / 0.5485 GB, free: 26.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.005444, allocations: 23.94 kB / 0.5485 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.00553, allocations: 31.88 kB / 0.5485 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.005675, allocations: 59.88 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.005896, allocations: 147.5 kB / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.005907, allocations: 0 / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005909, allocations: 0 / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.005917, allocations: 0 / 0.5487 GB, free: 26 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005831/0.0065, allocations: 0.4937 MB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.00653, allocations: 15.89 kB / 0.5492 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.006576, allocations: 24.91 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.006721, allocations: 175.4 kB / 0.5494 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.006738, allocations: 20.53 kB / 0.5494 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.006764, allocations: 12.38 kB / 0.5494 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.006903, allocations: 133.8 kB / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006913, allocations: 192 / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.006923, allocations: 4.375 kB / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.006928, allocations: 7.938 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.007005, allocations: 79.08 kB / 0.5496 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.007348, allocations: 284.5 kB / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.007532, allocations: 123.4 kB / 0.55 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.007569, allocations: 58.55 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.007584, allocations: 4 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.007718, allocations: 192.5 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.00772, allocations: 0 / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005476/0.008267, allocations: 0.5377 MB / 0.5508 GB, free: 23.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.008302, allocations: 162.2 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.008393, allocations: 191.2 kB / 0.5511 GB, free: 23.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.008407, allocations: 33.7 kB / 0.5512 GB, free: 23.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.008439, allocations: 120.4 kB / 0.5513 GB, free: 23.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.008469, allocations: 75.36 kB / 0.5514 GB, free: 23.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.008515, allocations: 53.67 kB / 0.5514 GB, free: 22.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.00855, allocations: 330.8 kB / 0.5517 GB, free: 22.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.0086, allocations: 101 kB / 0.5518 GB, free: 22.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.008662, allocations: 168.5 kB / 0.552 GB, free: 22.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.008763, allocations: 217.5 kB / 0.5522 GB, free: 22.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008764, allocations: 0 / 0.5522 GB, free: 22.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001435/0.008907, allocations: 267.6 kB / 0.5524 GB, free: 21.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.008938, allocations: 67.59 kB / 0.5525 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.008943, allocations: 7.938 kB / 0.5525 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.008955, allocations: 0 / 0.5525 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.009106, allocations: 67.89 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.009112, allocations: 7.938 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.009184, allocations: 15.98 kB / 0.5526 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.009196, allocations: 8 kB / 0.5526 GB, free: 21.59 MB / 410.7 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: 7 * 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 (32): * Single equations (assignments): 30 * 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 9.519e-05/0.009291, allocations: 171.6 kB / 0.5528 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.009312, allocations: 23.98 kB / 0.5528 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.009442, allocations: 191 kB / 0.553 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009444, allocations: 0 / 0.553 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.009447, allocations: 3.984 kB / 0.553 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.009452, allocations: 7.938 kB / 0.553 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.009696, allocations: 389.5 kB / 0.5534 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009697, allocations: 4 kB / 0.5534 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.00982, allocations: 43.97 kB / 0.5534 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.009837, allocations: 19.91 kB / 0.5534 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009839, allocations: 3.938 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.00985, allocations: 7.984 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009851, allocations: 3.938 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009852, allocations: 0 / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.01003, allocations: 361.5 kB / 0.5538 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01005, allocations: 8 kB / 0.5538 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.01012, allocations: 15.98 kB / 0.5538 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.01016, allocations: 19.95 kB / 0.5538 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01017, allocations: 8 kB / 0.5538 GB, free: 20.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.01021, allocations: 63.08 kB / 0.5539 GB, free: 20.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01021, allocations: 0 / 0.5539 GB, free: 20.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.01037, allocations: 63.94 kB / 0.554 GB, free: 20.11 MB / 410.7 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 (21): * Single equations (assignments): 18 * 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 7.695e-05/0.01045, allocations: 92.36 kB / 0.554 GB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.0106, allocations: 316.5 kB / 0.5544 GB, free: 19.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.01061, allocations: 4.562 kB / 0.5544 GB, free: 19.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.01069, allocations: 161.7 kB / 0.5545 GB, free: 19.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01097, allocations: 0.5378 MB / 0.555 GB, free: 18.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.0163, allocations: 0.5578 MB / 0.5556 GB, free: 18.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.01633, allocations: 76.33 kB / 0.5557 GB, free: 18.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.01641, allocations: 30.28 kB / 0.5557 GB, free: 18.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.01654, allocations: 115.3 kB / 0.5558 GB, free: 18.01 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01654, allocations: 0 / 0.5558 GB, free: 18.01 MB / 410.7 MB Notification: Performance of Templates: time 0.229/0.2456, allocations: 3.928 MB / 0.5596 GB, free: 85.09 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6171571258455515]