Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.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.0007494/0.0007494, 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.0008241/0.0008241, allocations: 166.3 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.9624/0.9624, allocations: 177.1 MB / 203.5 MB, free: 5.395 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.7646/0.7646, allocations: 291.2 MB / 0.5382 GB, free: 51.61 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.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.044e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference): time 0.002554/0.002585, allocations: 1.814 MB / 0.6992 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.003436, allocations: 0.5458 MB / 0.6997 GB, free: 8 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.003499, allocations: 0 / 0.6997 GB, free: 8 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.784e-05/0.003597, allocations: 11.86 kB / 0.6997 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.003953, allocations: 70.34 kB / 0.6998 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.004108, allocations: 71.77 kB / 0.6998 GB, free: 7.852 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.004301, allocations: 167.3 kB / 0.7 GB, free: 7.688 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.004352, allocations: 9.312 kB / 0.7 GB, free: 7.68 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.004477, allocations: 91.77 kB / 0.7001 GB, free: 7.59 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.004708, allocations: 71.78 kB / 0.7002 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.004735, allocations: 8 kB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.004755, allocations: 8 kB / 0.7002 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.004819, allocations: 35.89 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.004879, allocations: 43.84 kB / 0.7003 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.00502, allocations: 103.7 kB / 0.7004 GB, free: 7.324 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005023, allocations: 0 / 0.7004 GB, free: 7.324 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005025, allocations: 0 / 0.7004 GB, free: 7.324 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005029, allocations: 0 / 0.7004 GB, free: 7.324 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006252/0.005654, allocations: 391.5 kB / 0.7007 GB, free: 6.906 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.005699, allocations: 11.97 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.005754, allocations: 24.77 kB / 0.7008 GB, free: 6.871 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.005935, allocations: 142.9 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.005952, allocations: 8.375 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.005982, allocations: 8.375 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.006194, allocations: 98.19 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006204, allocations: 3.938 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.006219, allocations: 7.984 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.006225, allocations: 0 / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.006418, allocations: 79.86 kB / 0.7011 GB, free: 6.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.006829, allocations: 284.4 kB / 0.7014 GB, free: 6.191 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.00711, allocations: 138.4 kB / 0.7015 GB, free: 6.047 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.007214, allocations: 52.81 kB / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.00723, allocations: 0 / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.007445, allocations: 119.2 kB / 0.7017 GB, free: 5.863 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.007446, allocations: 224 / 0.7017 GB, free: 5.863 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004354/0.007881, allocations: 201.5 kB / 0.7019 GB, free: 5.664 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.00792, allocations: 59.34 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.008028, allocations: 151.6 kB / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.008045, allocations: 33.7 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.00809, allocations: 104.1 kB / 0.7022 GB, free: 5.293 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.008119, allocations: 47.62 kB / 0.7022 GB, free: 5.246 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.008172, allocations: 37.7 kB / 0.7023 GB, free: 5.203 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.008212, allocations: 322.8 kB / 0.7026 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.008339, allocations: 85.59 kB / 0.7027 GB, free: 4.789 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.008489, allocations: 206.1 kB / 0.7029 GB, free: 4.551 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.008707, allocations: 141.1 kB / 0.703 GB, free: 4.406 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.00871, allocations: 7.938 kB / 0.703 GB, free: 4.398 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003094/0.00902, allocations: 232.8 kB / 0.7032 GB, free: 4.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.009049, allocations: 33.7 kB / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.009055, allocations: 3.984 kB / 0.7033 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.009071, allocations: 4 kB / 0.7033 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.009197, allocations: 27.92 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.009203, allocations: 4 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.009308, allocations: 19.92 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.00932, allocations: 4 kB / 0.7033 GB, free: 4.051 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 (17): * Single equations (assignments): 16 * 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 6.928e-05/0.009389, allocations: 126.4 kB / 0.7034 GB, free: 3.918 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.009406, allocations: 11.91 kB / 0.7034 GB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.009718, allocations: 178.3 kB / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009721, allocations: 0 / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009725, allocations: 3.938 kB / 0.7036 GB, free: 3.727 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009729, allocations: 0 / 0.7036 GB, free: 3.727 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.009833, allocations: 149.2 kB / 0.7038 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.009836, allocations: 3.938 kB / 0.7038 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.00995, allocations: 31.97 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.009952, allocations: 48 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.009967, allocations: 7.984 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.009969, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00997, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.01036, allocations: 248.9 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.01039, allocations: 19.86 kB / 0.7041 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.01074, allocations: 8 kB / 0.7041 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.01083, allocations: 7.984 kB / 0.7041 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.0109, allocations: 23.91 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01091, allocations: 4 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.437e-05/0.01097, allocations: 126 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01097, allocations: 4.062 kB / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00021/0.01118, allocations: 32 kB / 0.7043 GB, free: 3.027 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],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 (14): * Single equations (assignments): 12 * 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 0.0001347/0.01132, allocations: 107.2 kB / 0.7044 GB, free: 2.91 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.01165, allocations: 209 kB / 0.7046 GB, free: 2.688 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01165, allocations: 0 / 0.7046 GB, free: 2.688 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01177, allocations: 63.89 kB / 0.7046 GB, free: 2.625 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01205, allocations: 45.92 kB / 0.7047 GB, free: 2.582 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.01266, allocations: 335.2 kB / 0.705 GB, free: 2.223 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.28e-05/0.01271, allocations: 97.81 kB / 0.7051 GB, free: 2.109 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.01277, allocations: 20.48 kB / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.01277, allocations: 0 / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of Templates: time 0.003087/0.01586, allocations: 2.056 MB / 0.7071 GB, free: 56 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.527050234377384]