Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.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.0008548/0.0008548, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009602/0.001815, 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.0007543/0.0007543, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008846/0.001639, 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.137, 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.9304/0.9304, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04488/0.9753, allocations: 21.05 MB / 0.5433 GB, free: 31.72 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.Methylmercury.Methylmercury,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.234e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury): time 0.002243/0.002265, allocations: 1.956 MB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.002975, allocations: 0.5796 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.003025, allocations: 0 / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.003069, allocations: 11.86 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.003284, allocations: 71.47 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.003429, allocations: 67.77 kB / 0.5473 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.003597, allocations: 164 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.003636, allocations: 9.953 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.003771, allocations: 115.8 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.003948, allocations: 75.78 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.003973, allocations: 11.94 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.003994, allocations: 8 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.004042, allocations: 27.92 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.004083, allocations: 27.94 kB / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.004192, allocations: 67.75 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.004202, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004203, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.004213, allocations: 7.938 kB / 0.5478 GB, free: 27.09 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.0004739/0.004687, allocations: 388.2 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.004715, allocations: 15.89 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.004752, allocations: 12.92 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.00489, allocations: 158.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.004909, allocations: 8.375 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.004935, allocations: 4.375 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.005079, allocations: 85.02 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.005087, allocations: 7.922 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.005097, allocations: 4 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.005102, allocations: 4 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.005145, allocations: 19.98 kB / 0.5485 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.0054, allocations: 201.8 kB / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.005497, allocations: 110.9 kB / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.005523, allocations: 20.84 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.005539, allocations: 4 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.005639, allocations: 94.22 kB / 0.5489 GB, free: 25.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.00564, allocations: 0 / 0.5489 GB, free: 25.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001422/0.005782, allocations: 93.59 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.005806, allocations: 55.41 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.005868, allocations: 142.6 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.00588, allocations: 33.7 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.005908, allocations: 96.06 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.005932, allocations: 43.61 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.005975, allocations: 45.86 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.006016, allocations: 322.8 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.006054, allocations: 48.45 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.006104, allocations: 154.1 kB / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.006166, allocations: 98.75 kB / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006168, allocations: 0 / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.59e-05/0.006264, allocations: 143.8 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.006296, allocations: 37.69 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006301, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.006309, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.006422, allocations: 35.05 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.006426, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.006491, allocations: 15.98 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.006499, allocations: 4 kB / 0.5502 GB, free: 24.39 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 4.898e-05/0.006548, allocations: 120.7 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.006565, allocations: 15.92 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.00667, allocations: 98.36 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006672, allocations: 0 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006674, allocations: 4 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.006677, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.04e-05/0.006748, allocations: 97.75 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006749, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.006825, allocations: 23.98 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.00684, allocations: 15.94 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.006843, allocations: 3.938 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.006853, allocations: 4 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006855, allocations: 4 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006856, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.006981, allocations: 139.2 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.006996, allocations: 3.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.007042, allocations: 7.984 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.007083, allocations: 19.97 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.007089, allocations: 4.031 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.007123, allocations: 47.11 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007123, allocations: 0 / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000114/0.007237, allocations: 32 kB / 0.5508 GB, free: 23.71 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 6.955e-05/0.007306, allocations: 80.41 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.007423, allocations: 154 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.007428, allocations: 0 / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.007477, allocations: 52.7 kB / 0.5511 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.007621, allocations: 61.67 kB / 0.5511 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.01004, allocations: 342.2 kB / 0.5514 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.253e-05/0.01006, allocations: 67.84 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.01013, allocations: 17.48 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.01023, allocations: 91.33 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01023, allocations: 0 / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.003663/0.01389, allocations: 2.741 MB / 0.5543 GB, free: 20.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.653781397268176]