Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.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.00223/0.00223, 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.002784/0.002784, allocations: 173.9 kB / 22.46 MB, free: 2.105 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.634/1.634, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.346/1.346, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.482e-05, allocations: 8.953 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference): time 0.002711/0.002746, allocations: 1.807 MB / 0.7017 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000991/0.003737, allocations: 0.5496 MB / 0.7022 GB, free: 6.207 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.00381, allocations: 0 / 0.7022 GB, free: 6.207 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.003919, allocations: 19.86 kB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.004291, allocations: 59.55 kB / 0.7023 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.004471, allocations: 75.52 kB / 0.7023 GB, free: 6.059 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.004702, allocations: 167.2 kB / 0.7025 GB, free: 5.895 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.004756, allocations: 5.312 kB / 0.7025 GB, free: 5.891 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.004904, allocations: 91.78 kB / 0.7026 GB, free: 5.801 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.005154, allocations: 75.78 kB / 0.7027 GB, free: 5.727 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.005186, allocations: 4 kB / 0.7027 GB, free: 5.723 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.383e-05/0.005209, allocations: 12 kB / 0.7027 GB, free: 5.711 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.005282, allocations: 39.83 kB / 0.7027 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.928e-05/0.005351, allocations: 39.89 kB / 0.7028 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.005504, allocations: 99.69 kB / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.005508, allocations: 3.938 kB / 0.7029 GB, free: 5.531 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005509, allocations: 0 / 0.7029 GB, free: 5.531 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.005516, allocations: 4 kB / 0.7029 GB, free: 5.527 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.0007932/0.006309, allocations: 391.5 kB / 0.7032 GB, free: 5.109 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.00635, allocations: 12.03 kB / 0.7032 GB, free: 5.098 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.006406, allocations: 12.84 kB / 0.7033 GB, free: 5.086 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.0066, allocations: 158.1 kB / 0.7034 GB, free: 4.906 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.006618, allocations: 4.375 kB / 0.7034 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.006648, allocations: 8.375 kB / 0.7034 GB, free: 4.895 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.006895, allocations: 94.17 kB / 0.7035 GB, free: 4.797 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006906, allocations: 7.875 kB / 0.7035 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.006921, allocations: 4 kB / 0.7035 GB, free: 4.785 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.006926, allocations: 3.984 kB / 0.7035 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.007193, allocations: 91.86 kB / 0.7036 GB, free: 4.691 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.007651, allocations: 272.4 kB / 0.7039 GB, free: 4.395 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.007998, allocations: 142.3 kB / 0.704 GB, free: 4.246 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.008139, allocations: 48.81 kB / 0.7041 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.008156, allocations: 4 kB / 0.7041 GB, free: 4.191 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.008409, allocations: 119.2 kB / 0.7042 GB, free: 4.062 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.00841, allocations: 0 / 0.7042 GB, free: 4.062 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005396/0.00895, allocations: 197.7 kB / 0.7044 GB, free: 3.863 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.008981, allocations: 51.41 kB / 0.7044 GB, free: 3.801 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.009102, allocations: 155.6 kB / 0.7046 GB, free: 3.641 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.00912, allocations: 33.7 kB / 0.7046 GB, free: 3.602 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.009173, allocations: 100.1 kB / 0.7047 GB, free: 3.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.009203, allocations: 47.58 kB / 0.7047 GB, free: 3.453 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.009266, allocations: 41.7 kB / 0.7048 GB, free: 3.406 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.009325, allocations: 326.8 kB / 0.7051 GB, free: 3.078 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.009498, allocations: 77.66 kB / 0.7052 GB, free: 2.996 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.009692, allocations: 206.1 kB / 0.7054 GB, free: 2.758 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.009963, allocations: 136.5 kB / 0.7055 GB, free: 2.617 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.009966, allocations: 3.938 kB / 0.7055 GB, free: 2.613 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003929/0.01036, allocations: 240.8 kB / 0.7057 GB, free: 2.359 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.01039, allocations: 40.36 kB / 0.7058 GB, free: 2.316 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01039, allocations: 0 / 0.7058 GB, free: 2.316 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01041, allocations: 7.922 kB / 0.7058 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.01057, allocations: 23.98 kB / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01058, allocations: 0 / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.01074, allocations: 19.92 kB / 0.7058 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01075, allocations: 8 kB / 0.7058 GB, free: 2.258 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 8.005e-05/0.01083, allocations: 126.4 kB / 0.7059 GB, free: 2.125 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.01085, allocations: 19.84 kB / 0.706 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.01124, allocations: 173.2 kB / 0.7061 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01124, allocations: 0 / 0.7061 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01125, allocations: 0 / 0.7061 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01125, allocations: 0 / 0.7061 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.01137, allocations: 145.5 kB / 0.7063 GB, free: 1.766 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01138, allocations: 3.938 kB / 0.7063 GB, free: 1.762 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.01153, allocations: 39.91 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01153, allocations: 3.938 kB / 0.7063 GB, free: 1.719 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.01155, allocations: 4 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01155, allocations: 4 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01155, allocations: 3.938 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.01206, allocations: 241 kB / 0.7065 GB, free: 1.453 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.01208, allocations: 23.8 kB / 0.7066 GB, free: 1.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.01211, allocations: 4 kB / 0.7066 GB, free: 1.426 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.01225, allocations: 16.05 kB / 0.7066 GB, free: 1.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.01232, allocations: 15.97 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01233, allocations: 4 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.0124, allocations: 125.8 kB / 0.7067 GB, free: 1.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0124, allocations: 0 / 0.7067 GB, free: 1.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002066/0.01261, allocations: 32 kB / 0.7068 GB, free: 1.238 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.000122/0.01273, allocations: 107.2 kB / 0.7069 GB, free: 1.121 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.01312, allocations: 209 kB / 0.7071 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01312, allocations: 0 / 0.7071 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.0133, allocations: 67.89 kB / 0.7071 GB, free: 0.832 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.01359, allocations: 43.92 kB / 0.7072 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.01426, allocations: 309.5 kB / 0.7075 GB, free: 472 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.18e-05/0.01432, allocations: 89.81 kB / 0.7075 GB, free: 364 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.035e-05/0.0144, allocations: 25.48 kB / 0.7076 GB, free: 336 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.01445, allocations: 24.48 kB / 0.7076 GB, free: 312 kB / 410.8 MB Notification: Performance of SimCode: time 3.1e-07/0.01445, allocations: 0 / 0.7076 GB, free: 312 kB / 410.8 MB Notification: Performance of Templates: time 0.006653/0.02111, allocations: 2.505 MB / 0.71 GB, free: 13.91 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.684565931092948]