Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.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.001829/0.001829, 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.002054/0.002054, allocations: 173.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.599/1.599, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.412/1.412, allocations: 293 MB / 0.5392 GB, free: 49.79 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.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.305e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone): time 0.002346/0.002379, allocations: 1.83 MB / 0.7017 GB, free: 6.68 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.003243, allocations: 0.5499 MB / 0.7023 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.003301, allocations: 0 / 0.7023 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.581e-05/0.003396, allocations: 11.86 kB / 0.7023 GB, free: 6.113 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.003725, allocations: 71.48 kB / 0.7023 GB, free: 6.043 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.003887, allocations: 67.77 kB / 0.7024 GB, free: 5.977 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.004075, allocations: 171.2 kB / 0.7026 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.00412, allocations: 5.312 kB / 0.7026 GB, free: 5.805 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004243, allocations: 87.78 kB / 0.7027 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.004468, allocations: 75.78 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.004495, allocations: 8 kB / 0.7027 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.004519, allocations: 8 kB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.004578, allocations: 31.89 kB / 0.7028 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.004638, allocations: 47.83 kB / 0.7028 GB, free: 5.551 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004771, allocations: 99.69 kB / 0.7029 GB, free: 5.453 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004774, allocations: 3.938 kB / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004775, allocations: 0 / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004779, allocations: 3.938 kB / 0.7029 GB, free: 5.445 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.0007232/0.005503, allocations: 391.5 kB / 0.7033 GB, free: 5.027 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.005535, allocations: 12.03 kB / 0.7033 GB, free: 5.016 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.005586, allocations: 12.84 kB / 0.7033 GB, free: 5.004 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.00575, allocations: 158.1 kB / 0.7035 GB, free: 4.824 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.005768, allocations: 4.375 kB / 0.7035 GB, free: 4.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.005795, allocations: 12.38 kB / 0.7035 GB, free: 4.809 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.006037, allocations: 94.19 kB / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.006047, allocations: 7.875 kB / 0.7036 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.006061, allocations: 0 / 0.7036 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.006066, allocations: 4 kB / 0.7036 GB, free: 4.699 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.006351, allocations: 83.91 kB / 0.7037 GB, free: 4.617 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.006771, allocations: 284.4 kB / 0.7039 GB, free: 4.309 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.007134, allocations: 130.4 kB / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.007294, allocations: 60.69 kB / 0.7041 GB, free: 4.109 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.007314, allocations: 4 kB / 0.7041 GB, free: 4.105 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.007563, allocations: 110.5 kB / 0.7042 GB, free: 3.988 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.007565, allocations: 0 / 0.7042 GB, free: 3.988 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000544/0.008109, allocations: 197.6 kB / 0.7044 GB, free: 3.789 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.00815, allocations: 55.41 kB / 0.7045 GB, free: 3.723 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.00827, allocations: 163.5 kB / 0.7046 GB, free: 3.555 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.008286, allocations: 25.7 kB / 0.7046 GB, free: 3.523 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.008336, allocations: 108.3 kB / 0.7048 GB, free: 3.414 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.008364, allocations: 39.64 kB / 0.7048 GB, free: 3.375 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.008429, allocations: 41.64 kB / 0.7048 GB, free: 3.328 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.008478, allocations: 322.8 kB / 0.7051 GB, free: 3.004 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.008649, allocations: 85.66 kB / 0.7052 GB, free: 2.914 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.008848, allocations: 206.1 kB / 0.7054 GB, free: 2.676 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.009147, allocations: 134.5 kB / 0.7055 GB, free: 2.535 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.009151, allocations: 3.938 kB / 0.7055 GB, free: 2.531 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003972/0.009548, allocations: 247.6 kB / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.009574, allocations: 29.7 kB / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009579, allocations: 0 / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.009595, allocations: 8 kB / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.009764, allocations: 27.97 kB / 0.7058 GB, free: 2.203 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.00977, allocations: 0 / 0.7058 GB, free: 2.203 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.009937, allocations: 19.92 kB / 0.7059 GB, free: 2.184 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.009951, allocations: 4 kB / 0.7059 GB, free: 2.18 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 9.086e-05/0.01004, allocations: 130.4 kB / 0.706 GB, free: 2.043 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.01007, allocations: 19.83 kB / 0.706 GB, free: 2.023 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.01046, allocations: 174.4 kB / 0.7062 GB, free: 1.852 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01046, allocations: 4 kB / 0.7062 GB, free: 1.848 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01047, allocations: 0 / 0.7062 GB, free: 1.848 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01047, allocations: 0 / 0.7062 GB, free: 1.848 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.01059, allocations: 145.2 kB / 0.7063 GB, free: 1.676 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01059, allocations: 3.938 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.01075, allocations: 27.98 kB / 0.7064 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01075, allocations: 0 / 0.7064 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01077, allocations: 3.984 kB / 0.7064 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01077, allocations: 7.938 kB / 0.7064 GB, free: 1.633 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01077, allocations: 4 kB / 0.7064 GB, free: 1.629 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.0113, allocations: 249 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01132, allocations: 23.77 kB / 0.7066 GB, free: 1.344 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.01135, allocations: 0 / 0.7066 GB, free: 1.344 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.01149, allocations: 15.98 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.01155, allocations: 11.97 kB / 0.7067 GB, free: 1.316 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01156, allocations: 4 kB / 0.7067 GB, free: 1.312 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.01163, allocations: 125.8 kB / 0.7068 GB, free: 1.191 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 4.062 kB / 0.7068 GB, free: 1.188 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002054/0.01184, allocations: 32 kB / 0.7068 GB, free: 1.156 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.0001103/0.01195, allocations: 107.1 kB / 0.7069 GB, free: 1.039 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.01235, allocations: 216.2 kB / 0.7071 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01235, allocations: 0 / 0.7071 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.01252, allocations: 59.89 kB / 0.7072 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01282, allocations: 47.89 kB / 0.7072 GB, free: 0.707 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.01347, allocations: 305.5 kB / 0.7075 GB, free: 392 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.01353, allocations: 97.8 kB / 0.7076 GB, free: 276 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.085e-05/0.01362, allocations: 25.48 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.01369, allocations: 16.5 kB / 0.7076 GB, free: 232 kB / 410.8 MB Notification: Performance of SimCode: time 3.01e-07/0.01369, allocations: 3.938 kB / 0.7077 GB, free: 228 kB / 410.8 MB Notification: Performance of Templates: time 0.006936/0.02062, allocations: 2.499 MB / 0.7101 GB, free: 13.84 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.513359249103814]