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.0009784/0.0009784, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002307, allocations: 435.8 kB / 10.33 MB, free: 368 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.001027/0.001027, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002332, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9817/0.9817, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09618/1.078, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.7638/0.7638, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0304/0.7942, allocations: 21.03 MB / 0.5431 GB, free: 31.97 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 1.392e-06/1.392e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.355e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury): time 0.001734/0.001748, allocations: 1.956 MB / 0.5465 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.002411, allocations: 0.5757 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.002467, allocations: 3.938 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.341e-05/0.00252, allocations: 15.92 kB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.002728, allocations: 63.48 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.002844, allocations: 67.77 kB / 0.5472 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.002994, allocations: 164 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.003029, allocations: 13.94 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.003162, allocations: 115.7 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.003336, allocations: 75.78 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.003358, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.003375, allocations: 12 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.003415, allocations: 19.92 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.003455, allocations: 31.94 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.003555, allocations: 75.69 kB / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.003568, allocations: 0 / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003569, allocations: 0 / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.003585, allocations: 0 / 0.5477 GB, free: 27.34 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.0005177/0.004103, allocations: 384.2 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.004132, allocations: 15.89 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.004178, allocations: 16.92 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.004322, allocations: 165 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.004338, allocations: 4.375 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.004359, allocations: 12.38 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.004478, allocations: 73.02 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.004486, allocations: 3.938 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.004496, allocations: 4 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004501, allocations: 4 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.004545, allocations: 19.98 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.004772, allocations: 201 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.004872, allocations: 110.9 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.0049, allocations: 28.84 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.004915, allocations: 4 kB / 0.5487 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.00502, allocations: 90.22 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.005021, allocations: 0 / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001447/0.005166, allocations: 89.59 kB / 0.5488 GB, free: 26.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.005189, allocations: 55.41 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.005252, allocations: 150.9 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.005264, allocations: 25.7 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.005291, allocations: 108 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.005317, allocations: 43.61 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.005356, allocations: 37.64 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.005387, allocations: 326.8 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.005421, allocations: 44.52 kB / 0.5496 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-05/0.00547, allocations: 158.1 kB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.005525, allocations: 87.44 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005527, allocations: 4 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.713e-05/0.005614, allocations: 147.8 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.005642, allocations: 37.69 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005646, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.005654, allocations: 4 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.005757, allocations: 31.92 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.00576, allocations: 0 / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.005829, allocations: 11.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.005838, allocations: 8 kB / 0.55 GB, free: 24.65 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 5.267e-05/0.005891, allocations: 120.7 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.005904, allocations: 15.92 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006008, allocations: 98.36 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.00601, allocations: 4.031 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.006013, allocations: 0 / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.006017, allocations: 0 / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.06e-05/0.006097, allocations: 101.8 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006098, allocations: 0 / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.006176, allocations: 23.98 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.006191, allocations: 11.94 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006193, allocations: 11.94 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.006204, allocations: 4 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.006206, allocations: 2.875 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006207, allocations: 0 / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.006337, allocations: 139.2 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.006356, allocations: 7.938 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.006402, allocations: 11.98 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.006442, allocations: 15.97 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.006447, allocations: 0 / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.006477, allocations: 46.53 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006477, allocations: 3.938 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000117/0.006594, allocations: 32 kB / 0.5507 GB, free: 23.96 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.259e-05/0.006657, allocations: 84.36 kB / 0.5508 GB, free: 23.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.006775, allocations: 149.9 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.00678, allocations: 0 / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.006819, allocations: 40.77 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.006958, allocations: 62.42 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.009389, allocations: 350.2 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.468e-05/0.009414, allocations: 67.84 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.009473, allocations: 17.48 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.009572, allocations: 87.34 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009573, allocations: 3.938 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.003968/0.01354, allocations: 2.744 MB / 0.5542 GB, free: 20.36 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.3668433744460344]