Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.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.0007562/0.0007562, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.001965, 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.000727/0.000727, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009869/0.001714, 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 1.127/1.127, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09921/1.226, allocations: 53.68 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.8176/0.8176, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03819/0.8557, allocations: 21.04 MB / 0.5432 GB, free: 31.73 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.EthyltrimethylLead.EthyltrimethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.809e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead): time 0.001895/0.001913, allocations: 1.96 MB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.002574, allocations: 0.5796 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.002624, allocations: 0 / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.002672, allocations: 15.84 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.002894, allocations: 67.47 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.003018, allocations: 71.77 kB / 0.5473 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.003185, allocations: 164 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.003238, allocations: 5.969 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.003383, allocations: 115.7 kB / 0.5475 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.003566, allocations: 83.75 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.003591, allocations: 4 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.003611, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.003655, allocations: 19.94 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.003701, allocations: 31.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.003819, allocations: 75.69 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.003832, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003833, allocations: 4 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.003847, allocations: 0 / 0.5478 GB, free: 27.1 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.0005964/0.004443, allocations: 384.1 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.004475, allocations: 12.03 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.004515, allocations: 16.92 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.004669, allocations: 162.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.004688, allocations: 8.375 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.004713, allocations: 4.375 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.004841, allocations: 81.02 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.004852, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.004861, allocations: 8 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.004867, allocations: 0 / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.004911, allocations: 19.98 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.005194, allocations: 193.8 kB / 0.5486 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.00531, allocations: 118.9 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.005341, allocations: 28.84 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.00536, allocations: 0 / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.005487, allocations: 90.23 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.005488, allocations: 0 / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001488/0.005637, allocations: 85.59 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.005666, allocations: 59.41 kB / 0.549 GB, free: 25.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.005742, allocations: 146.8 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.005755, allocations: 37.7 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.462e-05/0.005789, allocations: 100 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.005815, allocations: 43.61 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.00586, allocations: 41.66 kB / 0.5493 GB, free: 25.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.005904, allocations: 326.8 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.00594, allocations: 44.52 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.005995, allocations: 157.2 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.048e-05/0.006055, allocations: 92.09 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006057, allocations: 0 / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001018/0.006159, allocations: 147.1 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.00619, allocations: 40.83 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006195, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.006206, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.00632, allocations: 35.91 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.006323, allocations: 4 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.006391, allocations: 12 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.0064, allocations: 3.984 kB / 0.5502 GB, free: 24.41 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.06e-05/0.006451, allocations: 124.6 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.006463, allocations: 11.92 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.006576, allocations: 102.4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006579, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.006581, allocations: 4 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.006586, allocations: 0 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.417e-05/0.00666, allocations: 101.8 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006661, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.006737, allocations: 23.98 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.006755, allocations: 11.98 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006757, allocations: 3.938 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.00677, allocations: 7.984 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.006771, allocations: 8 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006772, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.006903, allocations: 131.2 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.006922, allocations: 7.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.006968, allocations: 7.984 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.007012, allocations: 19.97 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.007019, allocations: 0 / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.007058, allocations: 43.12 kB / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007058, allocations: 3.938 kB / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.007229, allocations: 32 kB / 0.5508 GB, free: 23.72 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 9.122e-05/0.00732, allocations: 91.5 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.007495, allocations: 158 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.007503, allocations: 4 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.007575, allocations: 40.78 kB / 0.5511 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.007786, allocations: 58.45 kB / 0.5511 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.0107, allocations: 338.2 kB / 0.5514 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.01074, allocations: 71.83 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.01081, allocations: 21.48 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.01092, allocations: 87.28 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01092, allocations: 0 / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.004274/0.0152, allocations: 2.75 MB / 0.5543 GB, free: 20.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6311343535780907]