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.0009496/0.0009496, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.0009085/0.0009085, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.9092/0.9092, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7327/0.7327, allocations: 291.2 MB / 0.5382 GB, free: 51.91 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 1.813e-06/1.813e-06, allocations: 0 / 0.6972 GB, free: 10.54 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.856e-05, allocations: 6.219 kB / 0.6972 GB, free: 10.53 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten): time 0.002194/0.002212, allocations: 2.209 MB / 0.6994 GB, free: 8.305 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.002994, allocations: 0.5997 MB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.003075, allocations: 0 / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.00313, allocations: 19.78 kB / 0.7 GB, free: 7.68 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.003326, allocations: 91.27 kB / 0.7001 GB, free: 7.59 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.003499, allocations: 55.86 kB / 0.7001 GB, free: 7.535 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.003686, allocations: 270.6 kB / 0.7004 GB, free: 7.27 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.003825, allocations: 36.5 kB / 0.7004 GB, free: 7.238 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.003977, allocations: 143.6 kB / 0.7006 GB, free: 7.098 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.004161, allocations: 83.72 kB / 0.7007 GB, free: 7.016 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.004188, allocations: 16 kB / 0.7007 GB, free: 7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.225e-05/0.00421, allocations: 20 kB / 0.7007 GB, free: 6.98 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.00424, allocations: 43.83 kB / 0.7007 GB, free: 6.938 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.004308, allocations: 79.77 kB / 0.7008 GB, free: 6.859 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.004496, allocations: 199.4 kB / 0.701 GB, free: 6.664 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004498, allocations: 0 / 0.701 GB, free: 6.664 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004499, allocations: 0 / 0.701 GB, free: 6.664 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004503, allocations: 0 / 0.701 GB, free: 6.664 MB / 410.8 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.0006399/0.005143, allocations: 0.4891 MB / 0.7015 GB, free: 6.129 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.00518, allocations: 8.031 kB / 0.7015 GB, free: 6.121 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.005228, allocations: 28.8 kB / 0.7015 GB, free: 6.094 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.005339, allocations: 164.9 kB / 0.7017 GB, free: 5.906 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.005358, allocations: 12.61 kB / 0.7017 GB, free: 5.895 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.005387, allocations: 16.36 kB / 0.7017 GB, free: 5.879 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.005605, allocations: 172.8 kB / 0.7019 GB, free: 5.703 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.005618, allocations: 192 / 0.7019 GB, free: 5.703 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.005633, allocations: 8.375 kB / 0.7019 GB, free: 5.695 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.005638, allocations: 7.938 kB / 0.7019 GB, free: 5.688 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.005826, allocations: 146.1 kB / 0.702 GB, free: 5.539 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.006322, allocations: 404.8 kB / 0.7024 GB, free: 5.113 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.006652, allocations: 200.1 kB / 0.7026 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.006752, allocations: 98.52 kB / 0.7027 GB, free: 4.797 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.006767, allocations: 4 kB / 0.7027 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.006977, allocations: 232.4 kB / 0.7029 GB, free: 4.535 MB / 410.8 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.006979, allocations: 3.938 kB / 0.7029 GB, free: 4.531 MB / 410.8 MB Notification: Performance of matching and sorting (n=23): time 0.0008866/0.007865, allocations: 0.7334 MB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.007913, allocations: 136.5 kB / 0.7038 GB, free: 3.574 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.008033, allocations: 215.8 kB / 0.704 GB, free: 3.352 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.008046, allocations: 29.7 kB / 0.704 GB, free: 3.316 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.008097, allocations: 128.5 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.008128, allocations: 75.39 kB / 0.7042 GB, free: 3.113 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.008181, allocations: 49.7 kB / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.008223, allocations: 342.7 kB / 0.7046 GB, free: 2.715 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.008351, allocations: 145 kB / 0.7047 GB, free: 2.555 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.008497, allocations: 228.4 kB / 0.7049 GB, free: 2.289 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.008725, allocations: 278.8 kB / 0.7052 GB, free: 1.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008727, allocations: 0 / 0.7052 GB, free: 1.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003579/0.009085, allocations: 403.9 kB / 0.7056 GB, free: 1.555 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.009116, allocations: 59.41 kB / 0.7056 GB, free: 1.484 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.009121, allocations: 4 kB / 0.7056 GB, free: 1.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.009137, allocations: 0 / 0.7056 GB, free: 1.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.009249, allocations: 59.89 kB / 0.7057 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.009256, allocations: 4 kB / 0.7057 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.46e-05/0.009341, allocations: 19.92 kB / 0.7057 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.009354, allocations: 8 kB / 0.7057 GB, free: 1.391 MB / 410.8 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.000144/0.009498, allocations: 183.8 kB / 0.7059 GB, free: 1.195 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.009517, allocations: 23.86 kB / 0.7059 GB, free: 1.172 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.00983, allocations: 305.3 kB / 0.7062 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.009833, allocations: 4 kB / 0.7062 GB, free: 0.8516 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.00984, allocations: 7.922 kB / 0.7062 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.009846, allocations: 0 / 0.7062 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.01026, allocations: 0.5601 MB / 0.7068 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01027, allocations: 0 / 0.7068 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.01037, allocations: 43.91 kB / 0.7068 GB, free: 196 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01038, allocations: 0 / 0.7068 GB, free: 196 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01039, allocations: 11.98 kB / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01039, allocations: 0 / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01039, allocations: 0 / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.01085, allocations: 0.5137 MB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.01088, allocations: 15.94 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.01091, allocations: 12 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.01099, allocations: 15.98 kB / 0.7074 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.01106, allocations: 27.84 kB / 0.7074 GB, free: 15.56 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.01108, allocations: 15.98 kB / 0.7074 GB, free: 15.55 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.01116, allocations: 145.5 kB / 0.7075 GB, free: 15.41 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01116, allocations: 0 / 0.7075 GB, free: 15.41 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001835/0.01135, allocations: 63.94 kB / 0.7076 GB, free: 15.34 MB / 426.8 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 8.706e-05/0.01143, allocations: 110.8 kB / 0.7077 GB, free: 15.23 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.0118, allocations: 390.3 kB / 0.7081 GB, free: 14.81 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0118, allocations: 0 / 0.7081 GB, free: 14.81 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.01195, allocations: 177 kB / 0.7083 GB, free: 14.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.01224, allocations: 74.38 kB / 0.7083 GB, free: 14.55 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.01303, allocations: 0.6032 MB / 0.7089 GB, free: 13.9 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.01312, allocations: 125.9 kB / 0.709 GB, free: 13.76 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.01318, allocations: 20.5 kB / 0.7091 GB, free: 13.74 MB / 426.8 MB Notification: Performance of SimCode: time 7.01e-07/0.01318, allocations: 4 kB / 0.7091 GB, free: 13.74 MB / 426.8 MB Notification: Performance of Templates: time 0.003323/0.0165, allocations: 3.01 MB / 0.712 GB, free: 10.75 MB / 426.8 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.700844655744731]