Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.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.001139/0.001139, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001938/0.003078, allocations: 455.9 kB / 10.35 MB, free: 348 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.00103/0.00103, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.002067, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 1.053/1.053, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09508/1.148, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.812/0.812, allocations: 291.2 MB / 0.5227 GB, free: 52.73 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03652/0.8485, allocations: 21.04 MB / 0.5432 GB, free: 31.75 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.307e-06/3.307e-06, allocations: 4 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.14e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone): time 0.003672/0.003704, allocations: 1.957 MB / 0.5466 GB, free: 28.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004748, allocations: 0.5789 MB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.004823, allocations: 3.938 kB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.332e-05/0.004897, allocations: 11.86 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.005221, allocations: 75.47 kB / 0.5472 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.005415, allocations: 63.83 kB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.005652, allocations: 160 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.005705, allocations: 5.969 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.005923, allocations: 119.7 kB / 0.5475 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.006171, allocations: 83.77 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.006204, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.738e-05/0.006231, allocations: 4 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.006292, allocations: 23.94 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.006353, allocations: 27.94 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.006508, allocations: 79.67 kB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.006525, allocations: 4 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.006527, allocations: 0 / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.006544, allocations: 0 / 0.5478 GB, free: 27.11 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006881/0.007232, allocations: 384.2 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.007275, allocations: 15.89 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.007332, allocations: 12.92 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.00753, allocations: 158.8 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.007557, allocations: 8.375 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.007588, allocations: 4.375 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.00778, allocations: 89.02 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.00779, allocations: 3.938 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007801, allocations: 4 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.007807, allocations: 3.984 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.007875, allocations: 23.92 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.008225, allocations: 193.9 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.008374, allocations: 114.9 kB / 0.5487 GB, free: 26.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.008413, allocations: 24.84 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.008432, allocations: 0 / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.008585, allocations: 94.17 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.008587, allocations: 4 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002053/0.008792, allocations: 85.66 kB / 0.5489 GB, free: 25.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.00883, allocations: 55.41 kB / 0.549 GB, free: 25.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.008929, allocations: 146.6 kB / 0.5491 GB, free: 25.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.008946, allocations: 33.92 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.008984, allocations: 96.06 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.009017, allocations: 47.55 kB / 0.5493 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.009074, allocations: 45.64 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.009116, allocations: 322.8 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.00917, allocations: 48.52 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.009245, allocations: 164.9 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.437e-05/0.009339, allocations: 84.16 kB / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009342, allocations: 0 / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001582/0.0095, allocations: 146.2 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.009557, allocations: 37.69 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.009563, allocations: 0 / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.009573, allocations: 0 / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.009731, allocations: 35.92 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.009735, allocations: 0 / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.00984, allocations: 19.98 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.009853, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 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 7.15e-05/0.009925, allocations: 116.7 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.009949, allocations: 15.92 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.01011, allocations: 98.36 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01011, allocations: 4 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01012, allocations: 0 / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01012, allocations: 0 / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.01023, allocations: 97.75 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01023, allocations: 7.188 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.01036, allocations: 27.98 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.01038, allocations: 7.953 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01039, allocations: 3.938 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.0104, allocations: 7.984 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01041, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01041, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.01062, allocations: 139.2 kB / 0.5507 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.01065, allocations: 3.938 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.01074, allocations: 20.02 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.0108, allocations: 11.97 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.01081, allocations: 0 / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.01085, allocations: 43.94 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01085, allocations: 0 / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.01104, allocations: 35.94 kB / 0.5508 GB, free: 23.73 MB / 410.7 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.0001174/0.01115, allocations: 88.28 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.01133, allocations: 145.9 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01134, allocations: 0 / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.01143, allocations: 52.91 kB / 0.5511 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01166, allocations: 59.08 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.01572, allocations: 346.2 kB / 0.5514 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.01575, allocations: 71.84 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.01586, allocations: 17.52 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.016, allocations: 87.34 kB / 0.5516 GB, free: 22.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.016, allocations: 3.938 kB / 0.5516 GB, free: 22.81 MB / 410.7 MB Notification: Performance of Templates: time 0.00454/0.02054, allocations: 2.742 MB / 0.5543 GB, free: 20.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4948816914111376]