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.0008595/0.0008595, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002014, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006969/0.0006969, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009702/0.001667, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9908/0.9908, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09775/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7258/0.7258, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03695/0.7627, allocations: 21.02 MB / 0.5431 GB, free: 31.96 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.234e-06/2.234e-06, allocations: 4 kB / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.497e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten): time 0.002727/0.002752, allocations: 2.388 MB / 0.5467 GB, free: 28.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.008872, allocations: 0.6231 MB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.00901, allocations: 0 / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.199e-05/0.009092, allocations: 27.72 kB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.009294, allocations: 87.2 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.009461, allocations: 55.92 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.009672, allocations: 270.5 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.009788, allocations: 38.53 kB / 0.5478 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.01001, allocations: 180.1 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.01019, allocations: 91.7 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.01022, allocations: 20 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.291e-05/0.01025, allocations: 16 kB / 0.5481 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.01029, allocations: 27.88 kB / 0.5481 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.01036, allocations: 63.88 kB / 0.5482 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.01054, allocations: 135.5 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.576e-05/0.01056, allocations: 0 / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01056, allocations: 0 / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.01057, allocations: 0 / 0.5483 GB, free: 26.66 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.000623/0.01119, allocations: 0.5053 MB / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003046/0.01424, allocations: 11.89 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.01432, allocations: 28.91 kB / 0.5488 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.01453, allocations: 171.4 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01456, allocations: 12.61 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.01459, allocations: 16.38 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.01478, allocations: 133.7 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.01479, allocations: 192 / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.0148, allocations: 8.375 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.01481, allocations: 3.938 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.01491, allocations: 80.75 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.01537, allocations: 280.5 kB / 0.5495 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.01558, allocations: 120.2 kB / 0.5496 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.01563, allocations: 58.55 kB / 0.5497 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.01565, allocations: 4 kB / 0.5497 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.01581, allocations: 203.6 kB / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.01582, allocations: 0 / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006486/0.01646, allocations: 0.5235 MB / 0.5504 GB, free: 24.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.0165, allocations: 140.5 kB / 0.5505 GB, free: 24.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.0166, allocations: 191.2 kB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.01662, allocations: 29.7 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.01666, allocations: 124.2 kB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.0167, allocations: 79.34 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.01677, allocations: 49.69 kB / 0.551 GB, free: 23.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.01681, allocations: 334.8 kB / 0.5513 GB, free: 23.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.01688, allocations: 97 kB / 0.5514 GB, free: 23.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.01696, allocations: 172.4 kB / 0.5515 GB, free: 23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.01971, allocations: 213.6 kB / 0.5517 GB, free: 22.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.01972, allocations: 0 / 0.5517 GB, free: 22.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000223/0.01994, allocations: 267.9 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.01998, allocations: 63.58 kB / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01998, allocations: 8 kB / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.01999, allocations: 0 / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.02023, allocations: 71.89 kB / 0.5521 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.02023, allocations: 4 kB / 0.5521 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.02035, allocations: 12 kB / 0.5521 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.02036, allocations: 7.984 kB / 0.5522 GB, free: 22.29 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.0001471/0.02051, allocations: 171.6 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.02054, allocations: 27.97 kB / 0.5523 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.02073, allocations: 201.2 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.02073, allocations: 0 / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.02073, allocations: 0 / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02074, allocations: 4 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.02105, allocations: 386.3 kB / 0.5529 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.02105, allocations: 4 kB / 0.5529 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.02123, allocations: 46.66 kB / 0.553 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.02126, allocations: 23.89 kB / 0.553 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.02126, allocations: 0 / 0.553 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.02127, allocations: 11.94 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.02128, allocations: 0 / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02128, allocations: 0 / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.02152, allocations: 376.2 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.02155, allocations: 8 kB / 0.5534 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.02165, allocations: 7.984 kB / 0.5534 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.02171, allocations: 19.97 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.02172, allocations: 11.98 kB / 0.5534 GB, free: 20.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.02177, allocations: 59.09 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02177, allocations: 0 / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.02202, allocations: 60 kB / 0.5535 GB, free: 20.8 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 9.719e-05/0.02211, allocations: 88.41 kB / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.02233, allocations: 312.5 kB / 0.5539 GB, free: 20.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.02234, allocations: 4 kB / 0.5539 GB, free: 20.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.02243, allocations: 146.2 kB / 0.554 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.0228, allocations: 101.5 kB / 0.5541 GB, free: 20.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.02933, allocations: 0.581 MB / 0.5547 GB, free: 19.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.02938, allocations: 76.33 kB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.02952, allocations: 30.33 kB / 0.5548 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.0297, allocations: 127.2 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/0.0297, allocations: 0 / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of Templates: time 0.005406/0.03511, allocations: 3.922 MB / 0.5587 GB, free: 15.41 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4843572713434696]