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.0009288/0.0009288, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002192, 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.0009745/0.0009745, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.00236, 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.9543/0.9543, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.036, 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.8189/0.8189, allocations: 291.2 MB / 0.5228 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03488/0.8538, allocations: 21.06 MB / 0.5434 GB, free: 31.66 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 2.185e-06/2.185e-06, allocations: 0 / 0.5448 GB, free: 30.22 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.477e-05, allocations: 2.312 kB / 0.5448 GB, free: 30.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead): time 0.00221/0.002235, allocations: 1.967 MB / 0.5467 GB, free: 28.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.002907, allocations: 0.5691 MB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.002958, allocations: 0 / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.983e-05/0.003018, allocations: 15.86 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.003243, allocations: 75.47 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.003368, allocations: 63.77 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.003528, allocations: 168 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.003568, allocations: 5.969 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.003715, allocations: 119.7 kB / 0.5477 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.003893, allocations: 71.83 kB / 0.5478 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.003916, allocations: 8 kB / 0.5478 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.003936, allocations: 8 kB / 0.5478 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.003982, allocations: 27.86 kB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.004025, allocations: 31.94 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.004135, allocations: 75.69 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.004147, allocations: 0 / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004147, allocations: 0 / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.004156, allocations: 0 / 0.5479 GB, free: 27.01 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.0004774/0.004633, allocations: 396.1 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.591e-05/0.004659, allocations: 8.031 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.004697, allocations: 12.94 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.004827, allocations: 156.5 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.004842, allocations: 16.28 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.004864, allocations: 12.38 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.004972, allocations: 69.03 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004979, allocations: 7.938 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004988, allocations: 4 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004994, allocations: 4 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.005032, allocations: 19.97 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.005261, allocations: 189.9 kB / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.005363, allocations: 122.9 kB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.005388, allocations: 21.02 kB / 0.5489 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.005402, allocations: 4 kB / 0.5489 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.005506, allocations: 98.16 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.005507, allocations: 4 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000133/0.00564, allocations: 85.59 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.005658, allocations: 51.41 kB / 0.5491 GB, free: 25.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.005717, allocations: 150.6 kB / 0.5493 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005729, allocations: 25.7 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.005755, allocations: 96.08 kB / 0.5494 GB, free: 25.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.005782, allocations: 47.61 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.00582, allocations: 37.64 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.246e-05/0.005853, allocations: 330.8 kB / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.184e-05/0.005885, allocations: 48.53 kB / 0.5498 GB, free: 24.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.005935, allocations: 164.9 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/0.005993, allocations: 79.36 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005996, allocations: 0 / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.002e-05/0.006086, allocations: 158.4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.00611, allocations: 33.7 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006114, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.006125, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.006236, allocations: 31.98 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.00624, allocations: 2.969 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.006304, allocations: 19.98 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.006314, allocations: 4 kB / 0.5503 GB, free: 24.32 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.237e-05/0.006366, allocations: 124.6 kB / 0.5504 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.00638, allocations: 11.94 kB / 0.5505 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.006481, allocations: 94.42 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006482, allocations: 0 / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006484, allocations: 0 / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.006487, allocations: 3.984 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.006559, allocations: 109.8 kB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00656, allocations: 0 / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.006627, allocations: 27.92 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.00664, allocations: 7.953 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006643, allocations: 7.875 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.006652, allocations: 0 / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006653, allocations: 0 / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006654, allocations: 0 / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.006778, allocations: 139.3 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.006795, allocations: 11.94 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.006841, allocations: 15.95 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.006874, allocations: 12.03 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.006881, allocations: 15.16 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.006907, allocations: 40.75 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006907, allocations: 0 / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001101/0.007017, allocations: 32 kB / 0.5509 GB, free: 23.63 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.212e-05/0.00709, allocations: 88.34 kB / 0.551 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.007205, allocations: 149.9 kB / 0.5512 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.00721, allocations: 0 / 0.5512 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.007255, allocations: 48.72 kB / 0.5512 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.007434, allocations: 368.4 kB / 0.5516 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.01001, allocations: 358.2 kB / 0.5519 GB, free: 22.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.01004, allocations: 67.84 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.01011, allocations: 13.48 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.01022, allocations: 91.34 kB / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01022, allocations: 0 / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003859/0.01408, allocations: 2.765 MB / 0.5548 GB, free: 19.61 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.4826810378581285]