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.002349/0.002349, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.005767/0.005767, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.621/1.621, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.35/1.35, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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,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 1.653e-06/1.653e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.067e-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): time 0.002331/0.002361, allocations: 1.828 MB / 0.7017 GB, free: 6.703 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.003205, allocations: 0.5498 MB / 0.7022 GB, free: 6.148 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.003261, allocations: 11.94 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.464e-05/0.003355, allocations: 11.91 kB / 0.7022 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.003671, allocations: 67.48 kB / 0.7023 GB, free: 6.059 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.003821, allocations: 59.84 kB / 0.7024 GB, free: 6 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.004003, allocations: 175.2 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.004044, allocations: 1.312 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.004166, allocations: 99.66 kB / 0.7026 GB, free: 5.73 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.004385, allocations: 75.83 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.00441, allocations: 8 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.282e-05/0.004433, allocations: 4 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.004489, allocations: 39.83 kB / 0.7028 GB, free: 5.605 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.004547, allocations: 43.84 kB / 0.7028 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.004674, allocations: 91.69 kB / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.004677, allocations: 8 kB / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004678, allocations: 0 / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004681, allocations: 0 / 0.7029 GB, free: 5.465 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.0006959/0.005377, allocations: 399.5 kB / 0.7033 GB, free: 5.039 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.005406, allocations: 8.031 kB / 0.7033 GB, free: 5.031 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.005456, allocations: 16.84 kB / 0.7033 GB, free: 5.016 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.005618, allocations: 146.2 kB / 0.7034 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.005636, allocations: 8.375 kB / 0.7034 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.005663, allocations: 8.375 kB / 0.7035 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.005909, allocations: 102.1 kB / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.00592, allocations: 7.938 kB / 0.7036 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.005933, allocations: 0 / 0.7036 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.005937, allocations: 0 / 0.7036 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.006214, allocations: 79.92 kB / 0.7036 GB, free: 4.641 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.006619, allocations: 280.4 kB / 0.7039 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.006963, allocations: 150.3 kB / 0.704 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.007109, allocations: 56.81 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.007125, allocations: 0 / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.007375, allocations: 107.3 kB / 0.7042 GB, free: 4.004 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.007376, allocations: 0 / 0.7042 GB, free: 4.004 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005213/0.007898, allocations: 205 kB / 0.7044 GB, free: 3.801 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.007926, allocations: 55.39 kB / 0.7044 GB, free: 3.734 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.008039, allocations: 161 kB / 0.7046 GB, free: 3.57 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.008055, allocations: 29.7 kB / 0.7046 GB, free: 3.535 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.008105, allocations: 100.1 kB / 0.7047 GB, free: 3.434 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.008133, allocations: 39.64 kB / 0.7048 GB, free: 3.395 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.008196, allocations: 41.7 kB / 0.7048 GB, free: 3.348 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.008241, allocations: 322.8 kB / 0.7051 GB, free: 3.023 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.008417, allocations: 85.64 kB / 0.7052 GB, free: 2.934 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.008614, allocations: 202.1 kB / 0.7054 GB, free: 2.699 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.008889, allocations: 141.3 kB / 0.7055 GB, free: 2.555 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008891, allocations: 3.938 kB / 0.7055 GB, free: 2.551 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003916/0.009283, allocations: 240.8 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.009305, allocations: 37.69 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.009309, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.009323, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.009488, allocations: 27.98 kB / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.009493, allocations: 0 / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.009663, allocations: 27.86 kB / 0.7058 GB, free: 2.199 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.009676, allocations: 4 kB / 0.7058 GB, free: 2.195 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 7.019e-05/0.009746, allocations: 133.6 kB / 0.706 GB, free: 2.055 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.009769, allocations: 15.91 kB / 0.706 GB, free: 2.039 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.01016, allocations: 166.4 kB / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01016, allocations: 4 kB / 0.7062 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01016, allocations: 224 / 0.7062 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01017, allocations: 0 / 0.7062 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.01028, allocations: 153.2 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01028, allocations: 3.938 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.01044, allocations: 31.92 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01044, allocations: 0 / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01046, allocations: 4 kB / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01046, allocations: 0 / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01046, allocations: 0 / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.01097, allocations: 252.9 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.01099, allocations: 23.84 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.01102, allocations: 4 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.01116, allocations: 11.98 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.01122, allocations: 15.97 kB / 0.7066 GB, free: 1.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01123, allocations: 8 kB / 0.7066 GB, free: 1.324 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.138e-05/0.0113, allocations: 123.1 kB / 0.7068 GB, free: 1.203 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.0113, allocations: 0 / 0.7068 GB, free: 1.203 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002019/0.0115, allocations: 40 kB / 0.7068 GB, free: 1.164 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.0001022/0.01161, allocations: 99.23 kB / 0.7069 GB, free: 1.055 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.01201, allocations: 213 kB / 0.7071 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01201, allocations: 0 / 0.7071 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.01218, allocations: 55.95 kB / 0.7071 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01246, allocations: 51.83 kB / 0.7072 GB, free: 0.7227 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.01306, allocations: 309.1 kB / 0.7075 GB, free: 408 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.01311, allocations: 97.81 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.953e-05/0.01319, allocations: 21.47 kB / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.01324, allocations: 24.5 kB / 0.7076 GB, free: 244 kB / 410.8 MB Notification: Performance of SimCode: time 3e-07/0.01324, allocations: 0 / 0.7076 GB, free: 244 kB / 410.8 MB Notification: Performance of Templates: time 0.006435/0.01968, allocations: 2.489 MB / 0.7101 GB, free: 13.83 MB / 426.8 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: 6.757352740969509]