Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_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.0009231/0.0009231, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.002012, allocations: 440 kB / 10.41 MB, free: 284 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.001071/0.001071, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002538, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.011/1.011, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08528/1.096, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7416/0.7416, allocations: 291.2 MB / 0.5227 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02947/0.7711, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.693e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference): time 0.002477/0.002494, allocations: 1.935 MB / 0.5466 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008226/0.003317, allocations: 0.5832 MB / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.003386, allocations: 4 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.003439, allocations: 11.86 kB / 0.5472 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.003674, allocations: 63.53 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.003833, allocations: 67.83 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.004025, allocations: 160 kB / 0.5475 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.004065, allocations: 9.906 kB / 0.5475 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.004227, allocations: 123.7 kB / 0.5476 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.004429, allocations: 71.83 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.004455, allocations: 8 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.004479, allocations: 8 kB / 0.5477 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.004527, allocations: 23.86 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.004576, allocations: 35.94 kB / 0.5477 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.004703, allocations: 71.77 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.004714, allocations: 0 / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004714, allocations: 0 / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.004723, allocations: 0 / 0.5478 GB, free: 26.86 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.0006094/0.005332, allocations: 396.1 kB / 0.5482 GB, free: 26.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.005361, allocations: 11.89 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.005408, allocations: 12.92 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.00556, allocations: 164.5 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.005578, allocations: 8.375 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.005606, allocations: 8.375 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.005754, allocations: 73.02 kB / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005763, allocations: 3.938 kB / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.005774, allocations: 4 kB / 0.5484 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.005782, allocations: 4 kB / 0.5485 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.005836, allocations: 19.92 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.006128, allocations: 197.8 kB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.00627, allocations: 122.9 kB / 0.5488 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.006305, allocations: 16.84 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.006321, allocations: 4 kB / 0.5488 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.006445, allocations: 98.11 kB / 0.5489 GB, free: 25.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.006447, allocations: 0 / 0.5489 GB, free: 25.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001736/0.00662, allocations: 81.66 kB / 0.549 GB, free: 25.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.006643, allocations: 63.39 kB / 0.549 GB, free: 25.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.006725, allocations: 142.6 kB / 0.5492 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.006742, allocations: 29.7 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.006774, allocations: 104.1 kB / 0.5493 GB, free: 25.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.006803, allocations: 43.61 kB / 0.5493 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.006855, allocations: 41.59 kB / 0.5494 GB, free: 25.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.357e-05/0.006889, allocations: 326.8 kB / 0.5497 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.006936, allocations: 48.52 kB / 0.5497 GB, free: 24.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.007003, allocations: 156.9 kB / 0.5499 GB, free: 24.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.672e-05/0.00709, allocations: 84.16 kB / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007092, allocations: 4 kB / 0.55 GB, free: 24.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000132/0.007224, allocations: 143.8 kB / 0.5501 GB, free: 24.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.007252, allocations: 44.34 kB / 0.5501 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.007256, allocations: 0 / 0.5501 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.007267, allocations: 3.938 kB / 0.5501 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.007409, allocations: 27.98 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.007412, allocations: 4 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.502e-05/0.007507, allocations: 15.98 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.007518, allocations: 0 / 0.5502 GB, free: 24.16 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.494e-05/0.007573, allocations: 116.7 kB / 0.5503 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.007593, allocations: 19.91 kB / 0.5503 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.007726, allocations: 102.4 kB / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007728, allocations: 224 / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007729, allocations: 0 / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007733, allocations: 7.938 kB / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.116e-05/0.007824, allocations: 101.8 kB / 0.5505 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.007826, allocations: 3.5 kB / 0.5505 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.007936, allocations: 23.98 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.007954, allocations: 11.94 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.007956, allocations: 3.938 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.00797, allocations: 4 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.007973, allocations: 11.94 kB / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007974, allocations: 0 / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.008143, allocations: 131.3 kB / 0.5507 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.008167, allocations: 7.938 kB / 0.5507 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.008239, allocations: 7.984 kB / 0.5507 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.008282, allocations: 15.97 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.008291, allocations: 4 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.805e-05/0.008329, allocations: 47.11 kB / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008329, allocations: 0 / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000178/0.008507, allocations: 32 kB / 0.5508 GB, free: 23.47 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.551e-05/0.008583, allocations: 92.33 kB / 0.5509 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.008733, allocations: 149.9 kB / 0.5511 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.008739, allocations: 4 kB / 0.5511 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.008811, allocations: 44.83 kB / 0.5511 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.009054, allocations: 373.7 kB / 0.5515 GB, free: 22.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.01289, allocations: 350.1 kB / 0.5518 GB, free: 22.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.816e-05/0.01292, allocations: 71.83 kB / 0.5519 GB, free: 22.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.553e-05/0.01301, allocations: 17.48 kB / 0.5519 GB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.01315, allocations: 95.33 kB / 0.552 GB, free: 22.15 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01315, allocations: 0 / 0.552 GB, free: 22.15 MB / 410.7 MB Notification: Performance of Templates: time 0.004838/0.01799, allocations: 2.758 MB / 0.5547 GB, free: 19.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.332694514654577]