Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.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.0007563/0.0007563, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001784, 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.0008304/0.0008304, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001904, 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.076/1.076, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0966/1.173, allocations: 53.67 MB / 243.3 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.8809/0.8809, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0406/0.9215, allocations: 21.05 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.TetraethylLead.TetraethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5446 GB, free: 30.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.733e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference): time 0.001773/0.00179, allocations: 1.939 MB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.002417, allocations: 0.5807 MB / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.002476, allocations: 3.938 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.002525, allocations: 7.922 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.002767, allocations: 67.48 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.00293, allocations: 67.77 kB / 0.5472 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.003129, allocations: 164 kB / 0.5474 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.003181, allocations: 5.969 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.003348, allocations: 123.7 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.003581, allocations: 75.78 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.003606, allocations: 4 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.003625, allocations: 12 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.003675, allocations: 27.92 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.003722, allocations: 27.94 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.003839, allocations: 75.69 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.003854, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003855, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.00387, allocations: 4 kB / 0.5477 GB, free: 27.14 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.0005853/0.004456, allocations: 380.2 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.004487, allocations: 19.89 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.004525, allocations: 12.92 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.004668, allocations: 158.8 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.004687, allocations: 12.36 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.004712, allocations: 4.375 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.004835, allocations: 81.02 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004843, allocations: 3.938 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004852, allocations: 4 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.004857, allocations: 0 / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.004899, allocations: 23.98 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.00517, allocations: 205.8 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.005283, allocations: 110.9 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.005316, allocations: 16.84 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.005338, allocations: 4 kB / 0.5487 GB, free: 26.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.005465, allocations: 90.23 kB / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.005467, allocations: 0 / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001503/0.005617, allocations: 89.59 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.005647, allocations: 63.39 kB / 0.5489 GB, free: 25.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.005716, allocations: 142.6 kB / 0.5491 GB, free: 25.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.005729, allocations: 33.92 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.00576, allocations: 96.06 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.005784, allocations: 47.55 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.005827, allocations: 45.64 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.005862, allocations: 318.8 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.005899, allocations: 48.52 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.005954, allocations: 162.1 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/0.006023, allocations: 82.91 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.006026, allocations: 8 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001061/0.006132, allocations: 147 kB / 0.55 GB, free: 24.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.006167, allocations: 37.69 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006172, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.006183, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.006312, allocations: 31.92 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.006316, allocations: 4 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.006383, allocations: 15.98 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.00639, allocations: 0 / 0.5501 GB, free: 24.45 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.678e-05/0.006447, allocations: 124.6 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.006464, allocations: 19.92 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.006582, allocations: 98.36 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006583, allocations: 0 / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.006585, allocations: 0 / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.006589, allocations: 4 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.674e-05/0.006666, allocations: 97.75 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006667, allocations: 0 / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.006753, allocations: 27.98 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.00677, allocations: 7.953 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.006774, allocations: 11.92 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.006787, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006788, allocations: 4 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.00679, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.006924, allocations: 143.2 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.006942, allocations: 7.562 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.006995, allocations: 11.98 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.007038, allocations: 12.02 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.007045, allocations: 7.984 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.007078, allocations: 51.95 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007078, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.007196, allocations: 35.94 kB / 0.5507 GB, free: 23.75 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.285e-05/0.007289, allocations: 80.36 kB / 0.5508 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.007422, allocations: 150 kB / 0.551 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.007429, allocations: 4 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.007484, allocations: 48.78 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.007645, allocations: 54.14 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.01012, allocations: 350.2 kB / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.01015, allocations: 67.84 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.01021, allocations: 17.48 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01032, allocations: 87.34 kB / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01032, allocations: 3.938 kB / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of Templates: time 0.004205/0.01453, allocations: 2.747 MB / 0.5543 GB, free: 20.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.650389456190169]