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.001014/0.001014, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002549, allocations: 435.8 kB / 10.31 MB, free: 384 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.001069/0.001069, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002635, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9791/0.9791, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08121/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7413/0.7413, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03627/0.7775, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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_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.783e-06/1.783e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.334e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference): time 0.002531/0.002554, allocations: 1.939 MB / 0.5464 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009654/0.003519, allocations: 0.569 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.003599, allocations: 4 kB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.07e-05/0.00367, allocations: 11.86 kB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.003988, allocations: 67.48 kB / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.004189, allocations: 67.77 kB / 0.5471 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.004415, allocations: 168 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.00446, allocations: 5.969 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.004646, allocations: 115.8 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.00486, allocations: 71.78 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.004888, allocations: 8 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.004913, allocations: 8 kB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.004964, allocations: 23.92 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.005018, allocations: 35.94 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.00515, allocations: 71.69 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.005164, allocations: 3.938 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005164, allocations: 0 / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.005176, allocations: 0 / 0.5476 GB, free: 27.39 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.000575/0.005751, allocations: 392.1 kB / 0.5479 GB, free: 26.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.005781, allocations: 11.89 kB / 0.5479 GB, free: 26.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.005825, allocations: 16.92 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.005969, allocations: 150.8 kB / 0.5481 GB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.005989, allocations: 8.375 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.006011, allocations: 8.375 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.006153, allocations: 76.95 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006161, allocations: 3.938 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.00617, allocations: 4 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.006176, allocations: 4 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.006228, allocations: 19.98 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.006504, allocations: 205.9 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.00664, allocations: 118.9 kB / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.006675, allocations: 20.83 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.00669, allocations: 4 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.00681, allocations: 90.23 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.006812, allocations: 0 / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001655/0.006978, allocations: 85.59 kB / 0.5487 GB, free: 26.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.007003, allocations: 59.39 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.00708, allocations: 150.6 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.007095, allocations: 29.7 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.007129, allocations: 100.3 kB / 0.5491 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.007159, allocations: 43.61 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.007213, allocations: 45.58 kB / 0.5491 GB, free: 25.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.007257, allocations: 326.8 kB / 0.5494 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.007303, allocations: 48.52 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.007367, allocations: 150.1 kB / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.007443, allocations: 86.81 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.007445, allocations: 0 / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001326/0.007578, allocations: 155.8 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.007606, allocations: 37.69 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007611, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007621, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.007751, allocations: 27.98 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.007753, allocations: 0 / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.007842, allocations: 19.98 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.007852, allocations: 0 / 0.55 GB, free: 24.7 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.455e-05/0.007907, allocations: 124.5 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.007928, allocations: 23.92 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.008053, allocations: 90.42 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.008055, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008057, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.00806, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.9e-05/0.008149, allocations: 109.1 kB / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00815, allocations: 0 / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.008249, allocations: 27.92 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.008265, allocations: 11.94 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008268, allocations: 3.938 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.00828, allocations: 8 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008281, allocations: 0 / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008282, allocations: 0 / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.008439, allocations: 134.7 kB / 0.5505 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.008463, allocations: 11.94 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.008531, allocations: 7.984 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.008575, allocations: 15.97 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.008583, allocations: 4 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.00862, allocations: 51.05 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.00862, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.008802, allocations: 32.03 kB / 0.5506 GB, free: 24.01 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 7.799e-05/0.00888, allocations: 84.36 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.009025, allocations: 150.6 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.009029, allocations: 0 / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.009079, allocations: 36.83 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.009265, allocations: 62.77 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.01283, allocations: 362.2 kB / 0.5512 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.01285, allocations: 67.84 kB / 0.5513 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.96e-05/0.01293, allocations: 21.52 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.01306, allocations: 87.34 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01306, allocations: 0 / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004642/0.0177, allocations: 2.737 MB / 0.5541 GB, free: 20.42 MB / 410.7 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: 3.146615562029183]