Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_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.00106/0.00106, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004588/0.005648, 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.001107/0.001107, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003501/0.004608, allocations: 475.6 kB / 11.8 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 0.9367/0.9367, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08862/1.025, 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.7579/0.7579, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03059/0.7885, 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.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.621e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference): time 0.001829/0.001845, allocations: 1.943 MB / 0.5466 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000638/0.002483, allocations: 0.5793 MB / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.00253, allocations: 0 / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.002577, allocations: 15.86 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.002775, allocations: 59.55 kB / 0.5472 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.002898, allocations: 63.83 kB / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.003057, allocations: 176 kB / 0.5475 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.003094, allocations: 9.906 kB / 0.5475 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.003222, allocations: 111.7 kB / 0.5476 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.003396, allocations: 75.84 kB / 0.5476 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.003418, allocations: 4 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.003436, allocations: 8 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.003485, allocations: 27.86 kB / 0.5477 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.003524, allocations: 27.94 kB / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003628, allocations: 75.73 kB / 0.5478 GB, free: 26.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.003639, allocations: 4 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003639, allocations: 3.938 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.003648, 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.0004937/0.004142, allocations: 388.1 kB / 0.5482 GB, free: 26.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.004171, allocations: 11.89 kB / 0.5482 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.004212, allocations: 20.92 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.004351, allocations: 154.8 kB / 0.5483 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.004367, allocations: 8.375 kB / 0.5483 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.00439, allocations: 8.375 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.00452, allocations: 73.03 kB / 0.5484 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004528, allocations: 3.938 kB / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.004539, allocations: 11.98 kB / 0.5484 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.004545, allocations: 3.938 kB / 0.5484 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/0.004585, allocations: 19.98 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.004825, allocations: 197.8 kB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.004934, allocations: 118.9 kB / 0.5488 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.004961, allocations: 16.86 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.004976, allocations: 4 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.00508, allocations: 98.11 kB / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.073e-06/0.005081, allocations: 0 / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001371/0.005218, allocations: 81.66 kB / 0.549 GB, free: 25.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.005239, allocations: 55.41 kB / 0.549 GB, free: 25.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.005303, allocations: 150.6 kB / 0.5492 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.005316, allocations: 29.7 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.005345, allocations: 104 kB / 0.5493 GB, free: 25.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.005368, allocations: 43.62 kB / 0.5493 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.005412, allocations: 45.62 kB / 0.5494 GB, free: 25.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.005446, allocations: 326.8 kB / 0.5497 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.005479, allocations: 44.53 kB / 0.5497 GB, free: 24.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.005534, allocations: 161.2 kB / 0.5499 GB, free: 24.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.005591, allocations: 80.17 kB / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005593, allocations: 0 / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.656e-05/0.00568, allocations: 146.5 kB / 0.5501 GB, free: 24.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.005706, allocations: 37.64 kB / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005709, allocations: 4 kB / 0.5501 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.005721, allocations: 0 / 0.5501 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.005824, allocations: 35.98 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.005828, allocations: 3.984 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.005892, allocations: 8 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.0059, allocations: 8 kB / 0.5502 GB, free: 24.17 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.205e-05/0.005952, allocations: 124.6 kB / 0.5503 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.005965, allocations: 7.984 kB / 0.5503 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.006069, allocations: 102.6 kB / 0.5504 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006071, allocations: 4 kB / 0.5504 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.006074, allocations: 7.922 kB / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006077, allocations: 0 / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.528e-05/0.006153, allocations: 105.3 kB / 0.5505 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006154, allocations: 0 / 0.5505 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.006226, allocations: 23.98 kB / 0.5505 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.006239, allocations: 7.953 kB / 0.5505 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.00624, allocations: 3.938 kB / 0.5506 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.006252, allocations: 7.938 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.006253, allocations: 4 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006254, allocations: 4 kB / 0.5506 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.006393, allocations: 135.3 kB / 0.5507 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.00641, allocations: 7.938 kB / 0.5507 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.006459, allocations: 11.98 kB / 0.5507 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.006499, allocations: 15.97 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.006504, allocations: 0 / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.006533, allocations: 39.12 kB / 0.5508 GB, free: 23.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006533, allocations: 0 / 0.5508 GB, free: 23.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.006645, allocations: 32 kB / 0.5508 GB, free: 23.48 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.056e-05/0.006716, allocations: 100.3 kB / 0.5509 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.006837, allocations: 154 kB / 0.551 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.006842, allocations: 3.984 kB / 0.551 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.006891, allocations: 36.84 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.0001895/0.00708, allocations: 379.6 kB / 0.5514 GB, free: 22.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.009555, allocations: 354.1 kB / 0.5518 GB, free: 22.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.009582, allocations: 71.83 kB / 0.5518 GB, free: 22.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.009641, allocations: 17.5 kB / 0.5519 GB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.009748, allocations: 87.33 kB / 0.5519 GB, free: 22.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009749, allocations: 4 kB / 0.552 GB, free: 22.16 MB / 410.7 MB Notification: Performance of Templates: time 0.00371/0.01346, allocations: 2.753 MB / 0.5546 GB, free: 19.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.299727752804756]