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.001138/0.001138, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002673, 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.0009868/0.0009868, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002281, 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.9436/0.9436, allocations: 177.1 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08303/1.027, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7307/0.7307, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03204/0.7627, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.703e-06/1.703e-06, allocations: 0 / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.293e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury): time 0.002811/0.002834, allocations: 1.959 MB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.003737, allocations: 0.5653 MB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.003798, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.184e-05/0.00386, allocations: 11.86 kB / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.004166, allocations: 67.48 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.004369, allocations: 67.77 kB / 0.5471 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.004597, allocations: 172 kB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.004651, allocations: 9.969 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.004837, allocations: 111.7 kB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.00506, allocations: 75.83 kB / 0.5474 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.005088, allocations: 4 kB / 0.5474 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.624e-05/0.005114, allocations: 8 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.005167, allocations: 27.94 kB / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.005223, allocations: 31.88 kB / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.005369, allocations: 79.67 kB / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.726e-05/0.005387, allocations: 0 / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005388, allocations: 0 / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.0054, allocations: 0 / 0.5476 GB, free: 27.18 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.0006373/0.006038, allocations: 388.1 kB / 0.5479 GB, free: 26.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.006073, allocations: 11.89 kB / 0.548 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.006121, allocations: 20.92 kB / 0.548 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.006291, allocations: 150.8 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.006314, allocations: 8.375 kB / 0.5481 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.006338, allocations: 8.312 kB / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.00649, allocations: 85.02 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006499, allocations: 3.938 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.006511, allocations: 4 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006517, allocations: 0 / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.006577, allocations: 19.98 kB / 0.5482 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.006893, allocations: 197.9 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.007032, allocations: 122.9 kB / 0.5485 GB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.007069, allocations: 21.06 kB / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.007086, allocations: 7.938 kB / 0.5486 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.00722, allocations: 90.23 kB / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.007221, allocations: 0 / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001799/0.007401, allocations: 89.59 kB / 0.5487 GB, free: 25.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.007428, allocations: 55.41 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.007517, allocations: 150.6 kB / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.007533, allocations: 33.7 kB / 0.549 GB, free: 25.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.007569, allocations: 96.06 kB / 0.5491 GB, free: 25.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.007602, allocations: 43.61 kB / 0.5491 GB, free: 25.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.007659, allocations: 45.64 kB / 0.5492 GB, free: 25.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.007695, allocations: 322.8 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.007743, allocations: 44.53 kB / 0.5495 GB, free: 25.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.007816, allocations: 162.1 kB / 0.5497 GB, free: 24.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.131e-05/0.007897, allocations: 76.17 kB / 0.5497 GB, free: 24.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.0079, allocations: 4 kB / 0.5497 GB, free: 24.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001396/0.008039, allocations: 154.7 kB / 0.5499 GB, free: 24.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.008073, allocations: 33.7 kB / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.008078, allocations: 0 / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.008087, allocations: 0 / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.008228, allocations: 27.98 kB / 0.5499 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.008232, allocations: 7.984 kB / 0.5499 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.008331, allocations: 15.31 kB / 0.55 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.008342, allocations: 0 / 0.55 GB, free: 24.5 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.998e-05/0.008402, allocations: 124.6 kB / 0.5501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.008422, allocations: 19.94 kB / 0.5501 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.008563, allocations: 94.42 kB / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008565, allocations: 0 / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.008568, allocations: 3.984 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008572, allocations: 4 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.907e-05/0.008671, allocations: 97.75 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008672, allocations: 0 / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.008789, allocations: 31.92 kB / 0.5503 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.008809, allocations: 7.953 kB / 0.5503 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008811, allocations: 3.938 kB / 0.5503 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.008825, allocations: 4 kB / 0.5503 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.008827, allocations: 3.938 kB / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.008828, allocations: 4 kB / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.009005, allocations: 135.3 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.009028, allocations: 7.938 kB / 0.5505 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.0091, allocations: 11.98 kB / 0.5505 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.009147, allocations: 15.91 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.009156, allocations: 4 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.009196, allocations: 42.52 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009196, allocations: 0 / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.009398, allocations: 36.03 kB / 0.5506 GB, free: 23.8 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.912e-05/0.009477, allocations: 80.41 kB / 0.5507 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.009637, allocations: 145.9 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.009641, allocations: 4 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.009701, allocations: 40.89 kB / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.009901, allocations: 61.41 kB / 0.5509 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.01405, allocations: 354.2 kB / 0.5512 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.01408, allocations: 71.83 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.43e-05/0.01417, allocations: 21.52 kB / 0.5513 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.01433, allocations: 91.34 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01434, allocations: 0 / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of Templates: time 0.005385/0.01972, allocations: 2.735 MB / 0.5541 GB, free: 20.21 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0529867550358176]