Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.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.0007167/0.0007167, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009796/0.001696, 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.0006889/0.0006889, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001715, 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 0.9364/0.9364, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09261/1.029, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7721/0.7721, allocations: 291.1 MB / 0.5227 GB, free: 52.02 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02599/0.7981, allocations: 21.04 MB / 0.5433 GB, free: 31.01 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.Americium241.Americium241_Kathren2003_head,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5447 GB, free: 29.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.503e-05, allocations: 2.312 kB / 0.5447 GB, free: 29.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head): time 0.002473/0.002488, allocations: 1.942 MB / 0.5466 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.003333, allocations: 0.5832 MB / 0.5472 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.003389, allocations: 0 / 0.5472 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.003443, allocations: 11.86 kB / 0.5472 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.003691, allocations: 71.53 kB / 0.5472 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.003857, allocations: 59.83 kB / 0.5473 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.00407, allocations: 164 kB / 0.5475 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.004111, allocations: 13.89 kB / 0.5475 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.004282, allocations: 115.7 kB / 0.5476 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.004492, allocations: 75.83 kB / 0.5477 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.004518, allocations: 8 kB / 0.5477 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.485e-05/0.004543, allocations: 8 kB / 0.5477 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.004595, allocations: 31.86 kB / 0.5477 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.004645, allocations: 27.94 kB / 0.5477 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.004777, allocations: 71.75 kB / 0.5478 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.004788, allocations: 0 / 0.5478 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004789, allocations: 3.938 kB / 0.5478 GB, free: 26.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.004798, allocations: 0 / 0.5478 GB, free: 26.39 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.000596/0.005394, allocations: 392.2 kB / 0.5482 GB, free: 25.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.005428, allocations: 12.02 kB / 0.5482 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.005478, allocations: 12.94 kB / 0.5482 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.005641, allocations: 156.5 kB / 0.5483 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.00566, allocations: 8.375 kB / 0.5484 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.005686, allocations: 8.359 kB / 0.5484 GB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.005845, allocations: 77.03 kB / 0.5484 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005853, allocations: 3.938 kB / 0.5484 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.005864, allocations: 4 kB / 0.5484 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.00587, allocations: 11.92 kB / 0.5485 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.005925, allocations: 23.97 kB / 0.5485 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.006215, allocations: 197.8 kB / 0.5487 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.006346, allocations: 114.9 kB / 0.5488 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.006382, allocations: 16.86 kB / 0.5488 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.006398, allocations: 0 / 0.5488 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.006525, allocations: 101.7 kB / 0.5489 GB, free: 25.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.006527, allocations: 0 / 0.5489 GB, free: 25.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001751/0.006702, allocations: 89.66 kB / 0.549 GB, free: 25.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.006724, allocations: 55.41 kB / 0.549 GB, free: 25.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.00681, allocations: 146.6 kB / 0.5492 GB, free: 24.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.006828, allocations: 33.7 kB / 0.5492 GB, free: 24.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.006859, allocations: 96.02 kB / 0.5493 GB, free: 24.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.006888, allocations: 43.61 kB / 0.5493 GB, free: 24.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.006942, allocations: 41.66 kB / 0.5494 GB, free: 24.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.006977, allocations: 326.8 kB / 0.5497 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.007022, allocations: 44.52 kB / 0.5497 GB, free: 24.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.007088, allocations: 162.1 kB / 0.5499 GB, free: 24.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.007169, allocations: 84.17 kB / 0.55 GB, free: 23.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007171, allocations: 0 / 0.55 GB, free: 23.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001342/0.007305, allocations: 150.6 kB / 0.5501 GB, free: 23.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.007332, allocations: 37.64 kB / 0.5501 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.007336, allocations: 0 / 0.5501 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007348, allocations: 0 / 0.5501 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.007489, allocations: 31.98 kB / 0.5502 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.007493, allocations: 0 / 0.5502 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.007587, allocations: 15.98 kB / 0.5502 GB, free: 23.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.007599, allocations: 8 kB / 0.5502 GB, free: 23.7 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.932e-05/0.007658, allocations: 120.6 kB / 0.5503 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.007683, allocations: 15.92 kB / 0.5503 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.007823, allocations: 94.64 kB / 0.5504 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.007826, allocations: 4 kB / 0.5504 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.007828, allocations: 3.938 kB / 0.5504 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.007832, allocations: 0 / 0.5504 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.346e-05/0.007925, allocations: 101.7 kB / 0.5505 GB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.007926, allocations: 0 / 0.5505 GB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.008037, allocations: 27.98 kB / 0.5505 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.008056, allocations: 11.95 kB / 0.5506 GB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008058, allocations: 3.938 kB / 0.5506 GB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.008074, allocations: 7.938 kB / 0.5506 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008076, allocations: 0 / 0.5506 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008077, allocations: 0 / 0.5506 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.008247, allocations: 131.3 kB / 0.5507 GB, free: 23.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.008271, allocations: 7.922 kB / 0.5507 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.008351, allocations: 15.38 kB / 0.5507 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.008395, allocations: 11.97 kB / 0.5507 GB, free: 23.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.008403, allocations: 4.031 kB / 0.5507 GB, free: 23.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.121e-05/0.008444, allocations: 47.11 kB / 0.5508 GB, free: 23.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008444, allocations: 0 / 0.5508 GB, free: 23.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.008636, allocations: 32 kB / 0.5508 GB, free: 23.02 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.02e-05/0.008707, allocations: 88.3 kB / 0.5509 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.008858, allocations: 153.8 kB / 0.551 GB, free: 22.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.008865, allocations: 4 kB / 0.551 GB, free: 22.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.008933, allocations: 44.97 kB / 0.5511 GB, free: 22.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.009177, allocations: 366.9 kB / 0.5514 GB, free: 22.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.01298, allocations: 358.1 kB / 0.5518 GB, free: 21.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.785e-05/0.01301, allocations: 67.84 kB / 0.5518 GB, free: 21.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.791e-05/0.01309, allocations: 21.52 kB / 0.5519 GB, free: 21.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.01323, allocations: 91.34 kB / 0.5519 GB, free: 21.69 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01323, allocations: 0 / 0.5519 GB, free: 21.69 MB / 410.7 MB Notification: Performance of Templates: time 0.004811/0.01804, allocations: 2.761 MB / 0.5546 GB, free: 19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3238465944305062]