Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.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.001584/0.001584, 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.001754/0.001754, 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.9222/0.9222, 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.7026/0.7026, allocations: 291.1 MB / 0.5382 GB, free: 51.84 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.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") translateModel(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.6972 GB, free: 10.54 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.846e-05, allocations: 2.281 kB / 0.6972 GB, free: 10.53 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.001952/0.00198, allocations: 1.708 MB / 0.6989 GB, free: 8.809 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006855/0.002666, allocations: 0.5455 MB / 0.6994 GB, free: 8.258 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.002728, allocations: 0 / 0.6994 GB, free: 8.258 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.002834, allocations: 11.86 kB / 0.6994 GB, free: 8.246 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.003177, allocations: 71.48 kB / 0.6995 GB, free: 8.176 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.003322, allocations: 75.45 kB / 0.6996 GB, free: 8.105 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.00351, allocations: 175.2 kB / 0.6997 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.003559, allocations: 5.312 kB / 0.6997 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.003672, allocations: 91.78 kB / 0.6998 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.003885, allocations: 87.77 kB / 0.6999 GB, free: 7.754 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.00391, allocations: 12 kB / 0.6999 GB, free: 7.742 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.003931, allocations: 8 kB / 0.6999 GB, free: 7.734 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.004, allocations: 47.88 kB / 0.7 GB, free: 7.688 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.004056, allocations: 51.83 kB / 0.7 GB, free: 7.637 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.004189, allocations: 123.6 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004192, allocations: 0 / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004194, allocations: 0 / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.004199, allocations: 0 / 0.7001 GB, free: 7.516 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005946/0.004793, allocations: 423.1 kB / 0.7005 GB, free: 7.066 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.004829, allocations: 8.031 kB / 0.7006 GB, free: 7.059 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.004873, allocations: 16.84 kB / 0.7006 GB, free: 7.043 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.00502, allocations: 154.2 kB / 0.7007 GB, free: 6.867 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.005033, allocations: 4.375 kB / 0.7007 GB, free: 6.863 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.005056, allocations: 12.38 kB / 0.7007 GB, free: 6.852 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.005231, allocations: 112.8 kB / 0.7008 GB, free: 6.738 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005238, allocations: 192 / 0.7008 GB, free: 6.738 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.005251, allocations: 4.375 kB / 0.7008 GB, free: 6.734 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.005256, allocations: 11.94 kB / 0.7009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.005416, allocations: 95.91 kB / 0.7009 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.005656, allocations: 264.3 kB / 0.7012 GB, free: 6.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.005896, allocations: 154.5 kB / 0.7013 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.005989, allocations: 72.8 kB / 0.7014 GB, free: 6.105 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.006003, allocations: 4 kB / 0.7014 GB, free: 6.102 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.006177, allocations: 139.5 kB / 0.7016 GB, free: 5.953 MB / 410.8 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.006178, allocations: 0 / 0.7016 GB, free: 5.953 MB / 410.8 MB Notification: Performance of matching and sorting (n=16): time 0.0003599/0.006538, allocations: 233.4 kB / 0.7018 GB, free: 5.719 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.006564, allocations: 59.34 kB / 0.7018 GB, free: 5.648 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.006651, allocations: 174 kB / 0.702 GB, free: 5.473 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.006663, allocations: 29.7 kB / 0.702 GB, free: 5.438 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.006703, allocations: 104.1 kB / 0.7021 GB, free: 5.332 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.006733, allocations: 59.55 kB / 0.7022 GB, free: 5.273 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.006775, allocations: 41.7 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.477e-05/0.00681, allocations: 322.8 kB / 0.7025 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.006918, allocations: 97.64 kB / 0.7026 GB, free: 4.801 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.007041, allocations: 226 kB / 0.7028 GB, free: 4.543 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.007216, allocations: 168.9 kB / 0.703 GB, free: 4.371 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007218, allocations: 0 / 0.703 GB, free: 4.371 MB / 410.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002546/0.007473, allocations: 276.8 kB / 0.7033 GB, free: 4.082 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.007499, allocations: 29.7 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007504, allocations: 0 / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.007517, allocations: 0 / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.007634, allocations: 43.91 kB / 0.7033 GB, free: 4.004 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.00764, allocations: 0 / 0.7033 GB, free: 4.004 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.007728, allocations: 27.81 kB / 0.7034 GB, free: 3.977 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.007739, allocations: 11.98 kB / 0.7034 GB, free: 3.965 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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 5.442e-05/0.007794, allocations: 121.8 kB / 0.7035 GB, free: 3.836 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.007808, allocations: 19.84 kB / 0.7035 GB, free: 3.816 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.00805, allocations: 206.6 kB / 0.7037 GB, free: 3.613 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.008053, allocations: 4 kB / 0.7037 GB, free: 3.609 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.008058, allocations: 0 / 0.7037 GB, free: 3.609 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008061, allocations: 0 / 0.7037 GB, free: 3.609 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.822e-05/0.008149, allocations: 161.1 kB / 0.7039 GB, free: 3.422 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008151, allocations: 0 / 0.7039 GB, free: 3.422 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.008251, allocations: 35.92 kB / 0.7039 GB, free: 3.387 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008253, allocations: 0 / 0.7039 GB, free: 3.387 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.008266, allocations: 11.98 kB / 0.7039 GB, free: 3.375 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008268, allocations: 3.938 kB / 0.7039 GB, free: 3.371 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008269, allocations: 0 / 0.7039 GB, free: 3.371 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.008603, allocations: 303.2 kB / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.008621, allocations: 7.953 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.008641, allocations: 8.031 kB / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.008703, allocations: 15.98 kB / 0.7042 GB, free: 3.027 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.008761, allocations: 19.97 kB / 0.7043 GB, free: 3.008 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.00877, allocations: 0 / 0.7043 GB, free: 3.008 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.881e-05/0.008819, allocations: 130.5 kB / 0.7044 GB, free: 2.883 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008819, allocations: 0 / 0.7044 GB, free: 2.883 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001384/0.008957, allocations: 47.94 kB / 0.7044 GB, free: 2.836 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (q[1],q[2],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.977e-05/0.009037, allocations: 103.1 kB / 0.7045 GB, free: 2.723 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.009301, allocations: 252.8 kB / 0.7048 GB, free: 2.457 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009303, allocations: 0 / 0.7048 GB, free: 2.457 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.009395, allocations: 71.92 kB / 0.7048 GB, free: 2.387 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.009604, allocations: 51.89 kB / 0.7049 GB, free: 2.336 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.0101, allocations: 381.9 kB / 0.7052 GB, free: 1.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.01015, allocations: 102.4 kB / 0.7053 GB, free: 1.809 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.0102, allocations: 28.48 kB / 0.7054 GB, free: 1.781 MB / 410.8 MB Notification: Performance of SimCode: time 8.02e-07/0.0102, allocations: 0 / 0.7054 GB, free: 1.781 MB / 410.8 MB Notification: Performance of Templates: time 0.002739/0.01294, allocations: 2.355 MB / 0.7077 GB, free: 15.43 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.437425435520709]