Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.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.0009476/0.0009476, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002375, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008871/0.0008871, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002145, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1154/1.134, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.7727/0.7727, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03346/0.8062, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.Pharmacogenomics.Patient_PKPG_1C_Lithium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.425e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium): time 0.002985/0.002999, allocations: 3.365 MB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.004534, allocations: 1.505 MB / 0.5492 GB, free: 25.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.004674, allocations: 4 kB / 0.5492 GB, free: 25.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.005013, allocations: 194.8 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.005194, allocations: 146.8 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.005613, allocations: 262.9 kB / 0.5498 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.005948, allocations: 0.494 MB / 0.5503 GB, free: 24.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.00609, allocations: 81.27 kB / 0.5503 GB, free: 24.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.006344, allocations: 336.5 kB / 0.5507 GB, free: 24.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.006488, allocations: 135.5 kB / 0.5508 GB, free: 24.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.006529, allocations: 40 kB / 0.5508 GB, free: 24.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.006882, allocations: 319.1 kB / 0.5511 GB, free: 23.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.006982, allocations: 147.5 kB / 0.5513 GB, free: 23.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.007089, allocations: 143.5 kB / 0.5514 GB, free: 23.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.007607, allocations: 0.6654 MB / 0.5521 GB, free: 22.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.007621, allocations: 4 kB / 0.5521 GB, free: 22.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007623, allocations: 3.984 kB / 0.5521 GB, free: 22.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.007643, allocations: 0 / 0.5521 GB, free: 22.78 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008485/0.008491, allocations: 1.039 MB / 0.5531 GB, free: 21.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.008521, allocations: 15.83 kB / 0.5531 GB, free: 21.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.008922, allocations: 374.5 kB / 0.5535 GB, free: 21.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.009164, allocations: 343 kB / 0.5538 GB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.009185, allocations: 20.88 kB / 0.5538 GB, free: 20.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.009218, allocations: 32.38 kB / 0.5538 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.00945, allocations: 278.3 kB / 0.5541 GB, free: 20.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.009463, allocations: 4.125 kB / 0.5541 GB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.009477, allocations: 8.375 kB / 0.5541 GB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.009483, allocations: 7.938 kB / 0.5541 GB, free: 20.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.009616, allocations: 169.3 kB / 0.5543 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.01026, allocations: 0.7247 MB / 0.555 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.01048, allocations: 237.8 kB / 0.5552 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.01054, allocations: 120.2 kB / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.01055, allocations: 4 kB / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.01074, allocations: 337.9 kB / 0.5557 GB, free: 18.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.332e-06/0.01074, allocations: 0 / 0.5557 GB, free: 18.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008623/0.0116, allocations: 0.9841 MB / 0.5566 GB, free: 17.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.01165, allocations: 221.6 kB / 0.5568 GB, free: 17.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.01198, allocations: 0.6696 MB / 0.5575 GB, free: 16.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.012, allocations: 37.7 kB / 0.5575 GB, free: 16.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.01207, allocations: 202.6 kB / 0.5577 GB, free: 16.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.01212, allocations: 130.9 kB / 0.5578 GB, free: 16.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.01219, allocations: 90.14 kB / 0.5579 GB, free: 16.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.01223, allocations: 329.9 kB / 0.5582 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.01231, allocations: 162.7 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.01245, allocations: 461 kB / 0.5588 GB, free: 15.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.01263, allocations: 371.4 kB / 0.5592 GB, free: 14.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01263, allocations: 0 / 0.5592 GB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.3025/0.3151, allocations: 0.5356 MB / 0.5597 GB, free: 81.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.3152, allocations: 92.78 kB / 0.5598 GB, free: 81.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3152, allocations: 6.156 kB / 0.5598 GB, free: 81.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3152, allocations: 2.844 kB / 0.5598 GB, free: 81.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.3156, allocations: 115.1 kB / 0.5599 GB, free: 81.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3156, allocations: 8.281 kB / 0.5599 GB, free: 81.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.3158, allocations: 24.17 kB / 0.56 GB, free: 81.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.3159, allocations: 50.58 kB / 0.56 GB, free: 81.66 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: dose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real dose.route.variableDose.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: 23 (dose.route.absorptionLumen.Cmin,$PRE.dose.route.absorptionLumen.Cmin,dose.route.absorptionLumen.Cmax,$PRE.dose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,SLC22A2.status,CYP2C19.status,central.rising,$PRE.central.rising,dose.pulse.count,$PRE.dose.pulse.count,dose.pulse.T_start,$PRE.dose.pulse.T_start,dose.route.absorptionLumen.rising,$PRE.dose.route.absorptionLumen.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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.0002906/0.3162, allocations: 221.4 kB / 0.5602 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3164, allocations: 108.8 kB / 0.5603 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.3165, allocations: 68.59 kB / 0.5604 GB, free: 81.47 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3165, allocations: 5.641 kB / 0.5604 GB, free: 81.47 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3165, allocations: 1.125 kB / 0.5604 GB, free: 81.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.3165, allocations: 1.688 kB / 0.5604 GB, free: 81.47 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.3173, allocations: 0.711 MB / 0.5611 GB, free: 81.12 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3173, allocations: 1.781 kB / 0.5611 GB, free: 81.12 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.3176, allocations: 87.78 kB / 0.5612 GB, free: 81.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3178, allocations: 66.62 kB / 0.5612 GB, free: 81.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3178, allocations: 1.344 kB / 0.5612 GB, free: 81.12 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3178, allocations: 15.16 kB / 0.5612 GB, free: 81.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3178, allocations: 1.562 kB / 0.5612 GB, free: 81.11 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3178, allocations: 2.438 kB / 0.5613 GB, free: 81.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.3185, allocations: 0.6922 MB / 0.5619 GB, free: 80.75 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.3185, allocations: 19.72 kB / 0.5619 GB, free: 80.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3186, allocations: 19.11 kB / 0.562 GB, free: 80.74 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.3187, allocations: 30.14 kB / 0.562 GB, free: 80.74 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.3188, allocations: 47.73 kB / 0.562 GB, free: 80.74 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0003959/0.3192, allocations: 344.9 kB / 0.5624 GB, free: 80.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3192, allocations: 0 / 0.5624 GB, free: 80.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004676/0.3197, allocations: 126 kB / 0.5625 GB, free: 80.71 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (dose.TotalCumulativeMass,dose.route.variableDose.TotalCumulativeMass,dose.route.absorptionLumen.C,dose.route.absorptionLumen.AUC,central.C,central.AUC,elim.MExc) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,dose.route.absorptionLumen.Cmax,dose.route.absorptionLumen.Cmin,dose.route.absorptionLumen.rising,dose.pulse.T_start,dose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 11 (dose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising,dose.route.absorptionLumen.Cmin,$whenCondition5,dose.route.absorptionLumen.Cmax,$whenCondition4,dose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * 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.0003676/0.32, allocations: 239.1 kB / 0.5627 GB, free: 80.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.3205, allocations: 0.5131 MB / 0.5632 GB, free: 80.28 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-05/0.3205, allocations: 9.453 kB / 0.5632 GB, free: 80.28 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3207, allocations: 287.3 kB / 0.5635 GB, free: 80.09 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3211, allocations: 130.7 kB / 0.5636 GB, free: 80.08 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007259/0.3284, allocations: 1.232 MB / 0.5648 GB, free: 79.49 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.3285, allocations: 157.6 kB / 0.565 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003528/0.3289, allocations: 150.6 kB / 0.5651 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.3292, allocations: 154.4 kB / 0.5653 GB, free: 79.37 MB / 410.8 MB Notification: Performance of SimCode: time 1.713e-06/0.3292, allocations: 0 / 0.5653 GB, free: 79.37 MB / 410.8 MB Notification: Performance of Templates: time 0.0128/0.342, allocations: 8.382 MB / 0.5735 GB, free: 76.85 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01808409858495]