Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.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.001005/0.001005, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009393/0.001944, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007114/0.0007114, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009298/0.001641, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09059/1.118, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.8082/0.8082, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03346/0.8416, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.255e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury): time 0.002079/0.002091, allocations: 1.969 MB / 0.5465 GB, free: 28.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.002795, allocations: 0.5653 MB / 0.5471 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.002847, allocations: 3.938 kB / 0.5471 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.88e-05/0.002896, allocations: 15.92 kB / 0.5471 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.003113, allocations: 71.42 kB / 0.5472 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.003253, allocations: 59.83 kB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.00343, allocations: 172 kB / 0.5474 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003057/0.006487, allocations: 5.969 kB / 0.5474 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.00667, allocations: 115.7 kB / 0.5475 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.00687, allocations: 79.78 kB / 0.5476 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.006894, allocations: 8 kB / 0.5476 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.006915, allocations: 8 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.006962, allocations: 19.92 kB / 0.5476 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.007015, allocations: 31.94 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.007139, allocations: 79.67 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.007151, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007151, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.007166, allocations: 0 / 0.5477 GB, free: 27.33 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.0005593/0.007725, allocations: 392.1 kB / 0.5481 GB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.007758, allocations: 11.89 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.007801, allocations: 12.94 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.007939, allocations: 158.8 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.007956, allocations: 8.359 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.007981, allocations: 12.38 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.008104, allocations: 69.03 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.008113, allocations: 3.938 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.008123, allocations: 8 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.008129, allocations: 4 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.008177, allocations: 27.91 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.008434, allocations: 193.9 kB / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.008549, allocations: 117.6 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.00858, allocations: 24.86 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.008594, allocations: 4 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.008712, allocations: 90.17 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.008714, allocations: 4 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001496/0.008863, allocations: 85.66 kB / 0.5489 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.64e-05/0.00888, allocations: 51.41 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.008953, allocations: 154.8 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.008965, allocations: 25.7 kB / 0.5491 GB, free: 25.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.008994, allocations: 96.02 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.009024, allocations: 51.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.009073, allocations: 37.64 kB / 0.5493 GB, free: 25.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.009105, allocations: 326.8 kB / 0.5496 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.009145, allocations: 52.52 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.009207, allocations: 158.1 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.009276, allocations: 83.55 kB / 0.5499 GB, free: 24.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.009278, allocations: 0 / 0.5499 GB, free: 24.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003145/0.01242, allocations: 154.3 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.01245, allocations: 29.7 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01246, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01247, allocations: 4 kB / 0.5501 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.0126, allocations: 35.92 kB / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.0126, allocations: 0 / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.01268, allocations: 15.98 kB / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.0127, allocations: 8 kB / 0.5501 GB, free: 24.64 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.696e-05/0.01275, allocations: 116.7 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.01277, allocations: 19.95 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.01289, allocations: 94.36 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.0129, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.0129, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.01292, allocations: 19.83 kB / 0.5504 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01293, allocations: 4 kB / 0.5504 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.01295, allocations: 4 kB / 0.5504 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.01301, allocations: 11.98 kB / 0.5504 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.01305, allocations: 15.97 kB / 0.5504 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001729/0.01322, allocations: 208.8 kB / 0.5506 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001843/0.01341, allocations: 329 kB / 0.5509 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.776e-05/0.01345, allocations: 32.97 kB / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.01349, allocations: 42.5 kB / 0.551 GB, free: 23.71 MB / 410.7 MB Notification: Performance of Backend: time 1.5e-07/0.01349, allocations: 4.031 kB / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.01377, allocations: 213.4 kB / 0.5512 GB, free: 23.47 MB / 410.7 MB Notification: Performance of SimCode: time 0.006421/0.02019, allocations: 0.8716 MB / 0.552 GB, free: 22.55 MB / 410.7 MB Notification: Performance of Templates: time 0.01086/0.03105, allocations: 2.951 MB / 0.5549 GB, free: 19.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4979193080216646]