Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.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.001278/0.001278, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.002922, allocations: 443.9 kB / 10.36 MB, free: 332 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.001083/0.001083, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002478, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09549/1.123, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.761/0.761, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03128/0.7922, allocations: 21.04 MB / 0.5432 GB, free: 31.8 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.Pharmacokinetic.Models.PK_1C_MichaelisMenten,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.5444 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.494e-05, allocations: 6.312 kB / 0.5444 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten): time 0.002184/0.002209, allocations: 2.409 MB / 0.5468 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.002977, allocations: 0.6269 MB / 0.5474 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.003055, allocations: 8 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.003104, allocations: 23.72 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.00324, allocations: 83.27 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.003372, allocations: 47.92 kB / 0.5475 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.003561, allocations: 270.5 kB / 0.5478 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003677, allocations: 42.48 kB / 0.5478 GB, free: 27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.003866, allocations: 176.2 kB / 0.548 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.004023, allocations: 95.69 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.004048, allocations: 20 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.004069, allocations: 16 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.004094, allocations: 27.88 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.00415, allocations: 63.88 kB / 0.5482 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.004304, allocations: 135.5 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.004316, allocations: 0 / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004317, allocations: 0 / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.004328, allocations: 0 / 0.5483 GB, free: 26.48 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.0005459/0.004874, allocations: 0.5053 MB / 0.5488 GB, free: 25.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.004905, allocations: 11.89 kB / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.004948, allocations: 28.91 kB / 0.5489 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.005092, allocations: 171.4 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.005109, allocations: 8.609 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.005136, allocations: 20.31 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.005288, allocations: 129.8 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.005299, allocations: 4.188 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.00531, allocations: 4.375 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005317, allocations: 13.56 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.005395, allocations: 81.23 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.005764, allocations: 276.6 kB / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.005941, allocations: 116.2 kB / 0.5497 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.005977, allocations: 62.53 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.005993, allocations: 7.938 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.00613, allocations: 196.5 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.064e-06/0.006132, allocations: 4 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005475/0.00668, allocations: 0.5274 MB / 0.5504 GB, free: 24.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.006707, allocations: 166.2 kB / 0.5506 GB, free: 23.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.006788, allocations: 191.2 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.006801, allocations: 29.7 kB / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.006833, allocations: 124.2 kB / 0.5509 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.006866, allocations: 71.36 kB / 0.551 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.006913, allocations: 61.66 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.006953, allocations: 338.8 kB / 0.5514 GB, free: 23.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.007004, allocations: 97 kB / 0.5515 GB, free: 22.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.007068, allocations: 174.8 kB / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.007172, allocations: 197.6 kB / 0.5518 GB, free: 22.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007175, allocations: 3.938 kB / 0.5518 GB, free: 22.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001586/0.007334, allocations: 275.3 kB / 0.5521 GB, free: 22.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.007367, allocations: 63.41 kB / 0.5521 GB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.007374, allocations: 4 kB / 0.5521 GB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.007384, allocations: 4 kB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.007553, allocations: 63.89 kB / 0.5522 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.007557, allocations: 4 kB / 0.5522 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.235e-05/0.007639, allocations: 20.17 kB / 0.5522 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.007651, allocations: 12 kB / 0.5522 GB, free: 22.07 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 0.000116/0.007767, allocations: 167.7 kB / 0.5524 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.007789, allocations: 19.98 kB / 0.5524 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.00794, allocations: 201.2 kB / 0.5526 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.007945, allocations: 3.984 kB / 0.5526 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007946, allocations: 0 / 0.5526 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.007969, allocations: 19.86 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.007979, allocations: 11.94 kB / 0.5527 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.008005, allocations: 11.94 kB / 0.5527 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.008065, allocations: 11.98 kB / 0.5527 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.008113, allocations: 23.95 kB / 0.5527 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001899/0.008303, allocations: 268.3 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002008/0.008504, allocations: 442.8 kB / 0.5534 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.731e-05/0.008571, allocations: 86.5 kB / 0.5535 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.008609, allocations: 63.11 kB / 0.5535 GB, free: 20.66 MB / 410.7 MB Notification: Performance of Backend: time 1.3e-07/0.008609, allocations: 0 / 0.5535 GB, free: 20.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.008881, allocations: 345.2 kB / 0.5538 GB, free: 20.29 MB / 410.7 MB Notification: Performance of SimCode: time 0.005484/0.01437, allocations: 1.127 MB / 0.5549 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.004885/0.01925, allocations: 4.013 MB / 0.5589 GB, free: 15.19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.508027314208448]