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.002457/0.002457, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002896/0.002896, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 1.699/1.699, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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 1.364/1.364, allocations: 292.9 MB / 0.5392 GB, free: 49.8 MB / 410.7 MB " [Timeout remaining time 178] 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 2.074e-06/2.074e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.78e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference): time 0.002698/0.002726, allocations: 1.814 MB / 0.7017 GB, free: 6.711 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009641/0.00369, allocations: 0.5457 MB / 0.7022 GB, free: 6.16 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.003785, allocations: 4 kB / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.003889, allocations: 19.84 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.004271, allocations: 63.53 kB / 0.7023 GB, free: 6.074 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.004462, allocations: 67.78 kB / 0.7024 GB, free: 6.008 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.00471, allocations: 163.3 kB / 0.7025 GB, free: 5.848 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.004767, allocations: 5.312 kB / 0.7025 GB, free: 5.844 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.004911, allocations: 91.78 kB / 0.7026 GB, free: 5.754 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.005136, allocations: 83.75 kB / 0.7027 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.005167, allocations: 4 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.005193, allocations: 11.94 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.005253, allocations: 35.83 kB / 0.7027 GB, free: 5.621 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.005315, allocations: 39.92 kB / 0.7028 GB, free: 5.582 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.005456, allocations: 99.67 kB / 0.7029 GB, free: 5.484 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005458, allocations: 0 / 0.7029 GB, free: 5.484 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005459, allocations: 4 kB / 0.7029 GB, free: 5.48 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.005464, allocations: 0 / 0.7029 GB, free: 5.48 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.0007516/0.006216, allocations: 395.5 kB / 0.7032 GB, free: 5.059 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.006257, allocations: 15.97 kB / 0.7033 GB, free: 5.043 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.006324, allocations: 12.84 kB / 0.7033 GB, free: 5.031 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.006527, allocations: 150.2 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006546, allocations: 384 / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.006576, allocations: 16.38 kB / 0.7034 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.006837, allocations: 102.1 kB / 0.7035 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.006848, allocations: 3.938 kB / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.006863, allocations: 4 kB / 0.7035 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.006868, allocations: 4 kB / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.00714, allocations: 79.92 kB / 0.7036 GB, free: 4.648 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.00761, allocations: 276.4 kB / 0.7039 GB, free: 4.348 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.007964, allocations: 146.3 kB / 0.704 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.008109, allocations: 48.77 kB / 0.7041 GB, free: 4.145 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.008126, allocations: 7.984 kB / 0.7041 GB, free: 4.137 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.008369, allocations: 110.5 kB / 0.7042 GB, free: 4.02 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.00837, allocations: 0 / 0.7042 GB, free: 4.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005602/0.00893, allocations: 201.7 kB / 0.7044 GB, free: 3.816 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.008965, allocations: 59.33 kB / 0.7044 GB, free: 3.746 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.009079, allocations: 157 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.009098, allocations: 33.7 kB / 0.7046 GB, free: 3.547 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.009146, allocations: 96.09 kB / 0.7047 GB, free: 3.449 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.009176, allocations: 47.62 kB / 0.7047 GB, free: 3.402 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.009236, allocations: 37.7 kB / 0.7048 GB, free: 3.359 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.009284, allocations: 326.8 kB / 0.7051 GB, free: 3.031 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.009447, allocations: 81.64 kB / 0.7052 GB, free: 2.945 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.009657, allocations: 208.1 kB / 0.7054 GB, free: 2.707 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.009933, allocations: 135.1 kB / 0.7055 GB, free: 2.566 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009936, allocations: 3.938 kB / 0.7055 GB, free: 2.562 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003912/0.01033, allocations: 243.6 kB / 0.7057 GB, free: 2.309 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.01036, allocations: 37.69 kB / 0.7058 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01037, allocations: 4 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01038, allocations: 0 / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.01055, allocations: 27.98 kB / 0.7058 GB, free: 2.234 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01056, allocations: 0 / 0.7058 GB, free: 2.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.01073, allocations: 23.92 kB / 0.7058 GB, free: 2.211 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.01074, allocations: 0 / 0.7058 GB, free: 2.211 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 8.183e-05/0.01082, allocations: 130.4 kB / 0.7059 GB, free: 2.074 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.01084, allocations: 15.91 kB / 0.706 GB, free: 2.059 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.01122, allocations: 166.4 kB / 0.7061 GB, free: 1.895 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01122, allocations: 11.94 kB / 0.7061 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01123, allocations: 0 / 0.7061 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01123, allocations: 224 / 0.7061 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.01134, allocations: 141.2 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01134, allocations: 11.86 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.01151, allocations: 23.98 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01151, allocations: 3.938 kB / 0.7063 GB, free: 1.676 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.01153, allocations: 8 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01153, allocations: 0 / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01154, allocations: 4 kB / 0.7063 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.01205, allocations: 250.2 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.01208, allocations: 19.81 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.01211, allocations: 4 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.01224, allocations: 11.98 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.01233, allocations: 15.97 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.01234, allocations: 4 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.528e-05/0.01243, allocations: 123.1 kB / 0.7067 GB, free: 1.227 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01243, allocations: 0 / 0.7067 GB, free: 1.227 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002237/0.01265, allocations: 36.06 kB / 0.7068 GB, free: 1.191 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.0001405/0.01279, allocations: 107.2 kB / 0.7069 GB, free: 1.074 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004376/0.01323, allocations: 211.8 kB / 0.7071 GB, free: 0.8516 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01323, allocations: 0 / 0.7071 GB, free: 0.8516 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.01341, allocations: 59.89 kB / 0.7071 GB, free: 0.793 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01371, allocations: 55.86 kB / 0.7072 GB, free: 0.7383 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.01441, allocations: 309.4 kB / 0.7075 GB, free: 420 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.285e-05/0.01447, allocations: 93.81 kB / 0.7076 GB, free: 308 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.242e-05/0.01456, allocations: 25.47 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.01462, allocations: 24.5 kB / 0.7076 GB, free: 256 kB / 410.8 MB Notification: Performance of SimCode: time 6.92e-07/0.01462, allocations: 0 / 0.7076 GB, free: 256 kB / 410.8 MB Notification: Performance of Templates: time 0.007895/0.02252, allocations: 2.495 MB / 0.71 GB, free: 13.87 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.907230621902272]