Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_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.001876/0.001876, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002038/0.002038, allocations: 211.6 kB / 22.25 MB, free: 3.57 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.807/1.807, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] 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 1.419/1.419, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.009224/0.009224, allocations: 73.61 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1704, allocations: 74.01 MB / 0.8472 GB, free: 4.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference): time 0.003768/0.1741, allocations: 1.808 MB / 0.849 GB, free: 3.035 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1756, allocations: 0.5415 MB / 0.8495 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.1757, allocations: 0.5625 kB / 0.8495 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1758, allocations: 16.48 kB / 0.8496 GB, free: 2.477 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.1761, allocations: 68.97 kB / 0.8496 GB, free: 2.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1763, allocations: 62.89 kB / 0.8497 GB, free: 2.352 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1766, allocations: 163.3 kB / 0.8498 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.1767, allocations: 5.312 kB / 0.8498 GB, free: 2.188 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1768, allocations: 79.69 kB / 0.8499 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.177, allocations: 80.22 kB / 0.85 GB, free: 2.031 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.1771, allocations: 8 kB / 0.85 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.403e-05/0.1771, allocations: 10.38 kB / 0.85 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.1772, allocations: 31.84 kB / 0.85 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.1773, allocations: 51.77 kB / 0.8501 GB, free: 1.934 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1774, allocations: 91.58 kB / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1775, allocations: 0 / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1775, allocations: 0 / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1775, allocations: 2.25 kB / 0.8502 GB, free: 1.844 MB / 474.8 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.0008713/0.1783, allocations: 391.5 kB / 0.8505 GB, free: 1.426 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1784, allocations: 12.03 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1784, allocations: 14.09 kB / 0.8506 GB, free: 1.402 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1787, allocations: 154.8 kB / 0.8507 GB, free: 1.227 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1787, allocations: 4.375 kB / 0.8507 GB, free: 1.223 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.1787, allocations: 17.03 kB / 0.8507 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.179, allocations: 101.5 kB / 0.8508 GB, free: 1.102 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.179, allocations: 0.5938 kB / 0.8508 GB, free: 1.102 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.179, allocations: 8.625 kB / 0.8508 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.179, allocations: 0 / 0.8508 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.1793, allocations: 77.11 kB / 0.8509 GB, free: 1.02 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1799, allocations: 280.9 kB / 0.8512 GB, free: 0.7148 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.1803, allocations: 135.5 kB / 0.8513 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1805, allocations: 53.41 kB / 0.8514 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1805, allocations: 0.5625 kB / 0.8514 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.1808, allocations: 119.4 kB / 0.8515 GB, free: 404 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1808, allocations: 0.7188 kB / 0.8515 GB, free: 404 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006402/0.1815, allocations: 204.2 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1815, allocations: 51.41 kB / 0.8517 GB, free: 132 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1817, allocations: 154.5 kB / 0.8519 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1818, allocations: 33.7 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.1819, allocations: 112 kB / 0.852 GB, free: 15.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1819, allocations: 42.11 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/0.182, allocations: 41.7 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1822, allocations: 326.8 kB / 0.8524 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.1824, allocations: 81.66 kB / 0.8525 GB, free: 15.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1827, allocations: 198.1 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.183, allocations: 145.9 kB / 0.8528 GB, free: 14.94 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.183, allocations: 0.9688 kB / 0.8528 GB, free: 14.94 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004986/0.1835, allocations: 242.1 kB / 0.853 GB, free: 14.68 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.1836, allocations: 36.2 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1836, allocations: 0 / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1836, allocations: 0 / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1838, allocations: 28.78 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1838, allocations: 4.219 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.184, allocations: 32.91 kB / 0.8531 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.184, allocations: 7.938 kB / 0.8531 GB, free: 14.57 MB / 490.8 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 0.0001274/0.1841, allocations: 123.3 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1841, allocations: 11.95 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.1846, allocations: 171.1 kB / 0.8534 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1846, allocations: 4.5 kB / 0.8534 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1846, allocations: 0 / 0.8534 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1846, allocations: 4.547 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.1848, allocations: 149.8 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1848, allocations: 3.938 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.185, allocations: 28.58 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.185, allocations: 0.5 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.185, allocations: 4.609 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.185, allocations: 4 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.185, allocations: 0.6719 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.1856, allocations: 258 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.1857, allocations: 12.58 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.1857, allocations: 3.984 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1858, allocations: 16.61 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1859, allocations: 8.734 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1859, allocations: 11.98 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001216/0.186, allocations: 122.5 kB / 0.854 GB, free: 13.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 0 / 0.854 GB, free: 13.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002226/0.1863, allocations: 32.62 kB / 0.8541 GB, free: 13.57 MB / 490.8 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 0.0001295/0.1864, allocations: 100.3 kB / 0.8542 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.1869, allocations: 220.8 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1869, allocations: 0 / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1871, allocations: 60.55 kB / 0.8544 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1874, allocations: 46.8 kB / 0.8545 GB, free: 13.13 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.1882, allocations: 322.7 kB / 0.8548 GB, free: 12.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.1883, allocations: 103.5 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.509e-05/0.1884, allocations: 24.11 kB / 0.8549 GB, free: 12.65 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.1885, allocations: 16.16 kB / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of SimCode: time 3.01e-07/0.1885, allocations: 0 / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of Templates: time 0.2597/0.4481, allocations: 2.643 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.331215824000537]