Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_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.0006532/0.0006532, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008064/0.00146, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006794/0.0006794, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000864/0.001543, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.9766/0.9766, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1184/1.095, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.7763/0.7763, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03416/0.8104, allocations: 21.04 MB / 0.5433 GB, free: 31.71 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_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.74e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference): time 0.001979/0.002006, allocations: 1.943 MB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.002634, allocations: 0.5638 MB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.002681, allocations: 7.938 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.808e-05/0.002729, allocations: 11.86 kB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.002947, allocations: 67.53 kB / 0.5472 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.003075, allocations: 67.77 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.003232, allocations: 172 kB / 0.5474 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.003274, allocations: 9.906 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.003413, allocations: 115.7 kB / 0.5475 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.003583, allocations: 71.83 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.003606, allocations: 8 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.003625, allocations: 8 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.003667, allocations: 27.86 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.003709, allocations: 27.94 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003818, allocations: 75.75 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.00383, allocations: 0 / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.00383, allocations: 4 kB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.003843, allocations: 0 / 0.5477 GB, free: 27.12 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.0005216/0.004365, allocations: 388.1 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.004394, allocations: 11.89 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.004428, allocations: 12.94 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004556, allocations: 158.8 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.004573, allocations: 8.359 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.004598, allocations: 16.38 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.004711, allocations: 73.03 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004719, allocations: 3.938 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.004728, allocations: 0 / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.004733, allocations: 0 / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.004775, allocations: 27.97 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.005003, allocations: 197.8 kB / 0.5486 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.00511, allocations: 118.9 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.005136, allocations: 24.8 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.005152, allocations: 4 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.005278, allocations: 94.22 kB / 0.5488 GB, free: 25.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.005279, allocations: 0 / 0.5488 GB, free: 25.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001394/0.005419, allocations: 89.58 kB / 0.5489 GB, free: 25.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.005447, allocations: 55.41 kB / 0.549 GB, free: 25.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.005519, allocations: 154.6 kB / 0.5491 GB, free: 25.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005531, allocations: 25.7 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.005561, allocations: 92.08 kB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.005585, allocations: 51.61 kB / 0.5493 GB, free: 25.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.005624, allocations: 37.66 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.005659, allocations: 326.8 kB / 0.5496 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.005695, allocations: 48.52 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.005752, allocations: 160.9 kB / 0.5498 GB, free: 24.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.00581, allocations: 84.11 kB / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.005813, allocations: 0 / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.377e-05/0.005906, allocations: 154.3 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.005935, allocations: 29.7 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.00594, allocations: 3.375 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.005949, allocations: 8 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.006047, allocations: 35.92 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.00605, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.006112, allocations: 11.98 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.006121, allocations: 8 kB / 0.5501 GB, free: 24.43 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 4.58e-05/0.006167, allocations: 120.6 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.006187, allocations: 15.92 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.00629, allocations: 94.36 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006292, allocations: 4 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006293, allocations: 4.219 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.006298, allocations: 3.984 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.978e-05/0.006368, allocations: 105.7 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006368, allocations: 0 / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/0.006438, allocations: 23.98 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.006452, allocations: 7.953 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006453, allocations: 3.938 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.006465, allocations: 4 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006466, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006466, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.006592, allocations: 147.2 kB / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.006609, allocations: 7.938 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.006653, allocations: 8 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.006696, allocations: 15.97 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006701, allocations: 0 / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.75e-05/0.006728, allocations: 42.5 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006729, allocations: 0 / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001123/0.006841, allocations: 32 kB / 0.5507 GB, free: 23.74 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.061e-05/0.006901, allocations: 88.39 kB / 0.5508 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.007025, allocations: 165.8 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.007029, allocations: 0 / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.007076, allocations: 40.97 kB / 0.551 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.007224, allocations: 56.83 kB / 0.5511 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.009602, allocations: 350.2 kB / 0.5514 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.138e-05/0.009623, allocations: 71.83 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.009678, allocations: 17.53 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.009774, allocations: 95.33 kB / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009775, allocations: 0 / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003532/0.01331, allocations: 2.745 MB / 0.5543 GB, free: 20.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4264327036216855]