Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.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.001889/0.001889, 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.002106/0.002106, allocations: 215.6 kB / 22.25 MB, free: 3.582 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.71/1.71, allocations: 230.6 MB / 256 MB, free: 9.621 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.525/1.525, 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") [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.003861/0.003861, allocations: 73.77 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1589, allocations: 73.98 MB / 0.8473 GB, free: 4.852 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine): time 0.003656/0.1625, allocations: 1.842 MB / 0.8491 GB, free: 3.016 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1638, allocations: 0.5417 MB / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.1638, allocations: 0.5312 kB / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.164, allocations: 16.44 kB / 0.8496 GB, free: 2.457 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1643, allocations: 68.78 kB / 0.8497 GB, free: 2.391 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1645, allocations: 57.67 kB / 0.8497 GB, free: 2.336 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1648, allocations: 167.8 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.1648, allocations: 9.922 kB / 0.8499 GB, free: 2.164 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.165, allocations: 71.7 kB / 0.85 GB, free: 2.094 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1652, allocations: 88.33 kB / 0.85 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.1653, allocations: 12.62 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.1653, allocations: 4 kB / 0.8501 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.1654, allocations: 29.12 kB / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.1655, allocations: 51.77 kB / 0.8501 GB, free: 1.914 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1657, allocations: 95.58 kB / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1657, allocations: 1.031 kB / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1657, allocations: 0 / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1657, allocations: 0 / 0.8502 GB, free: 1.82 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.000963/0.1667, allocations: 393.9 kB / 0.8506 GB, free: 1.402 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1667, allocations: 12.03 kB / 0.8506 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.1668, allocations: 12.84 kB / 0.8506 GB, free: 1.379 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.167, allocations: 153.4 kB / 0.8508 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.167, allocations: 4.375 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.1671, allocations: 20.11 kB / 0.8508 GB, free: 1.184 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.1674, allocations: 93.62 kB / 0.8509 GB, free: 1.086 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1674, allocations: 3.938 kB / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1674, allocations: 4 kB / 0.8509 GB, free: 1.078 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1674, allocations: 4.5 kB / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.1677, allocations: 80.94 kB / 0.851 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.1683, allocations: 286.2 kB / 0.8513 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.1688, allocations: 134.4 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1689, allocations: 52.81 kB / 0.8514 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.169, allocations: 4.719 kB / 0.8514 GB, free: 500 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.1693, allocations: 112.4 kB / 0.8515 GB, free: 376 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1693, allocations: 0 / 0.8515 GB, free: 376 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000635/0.1699, allocations: 206.3 kB / 0.8517 GB, free: 168 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.1699, allocations: 52.03 kB / 0.8518 GB, free: 104 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1701, allocations: 158 kB / 0.8519 GB, free: 15.94 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.1702, allocations: 29.7 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.1703, allocations: 108.7 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.1703, allocations: 44.25 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.1704, allocations: 41.7 kB / 0.8522 GB, free: 15.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1706, allocations: 323.5 kB / 0.8525 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1708, allocations: 82.38 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1711, allocations: 208.7 kB / 0.8527 GB, free: 15.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.1714, allocations: 145.5 kB / 0.8529 GB, free: 14.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1714, allocations: 0.625 kB / 0.8529 GB, free: 14.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004936/0.1719, allocations: 238 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.1719, allocations: 29.7 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1719, allocations: 0.625 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.172, allocations: 8.672 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.1721, allocations: 27.92 kB / 0.8532 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1721, allocations: 0.5938 kB / 0.8532 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.1723, allocations: 24.59 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1723, allocations: 4 kB / 0.8532 GB, free: 14.56 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.0001348/0.1725, allocations: 136.1 kB / 0.8533 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.1725, allocations: 7.953 kB / 0.8533 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.173, allocations: 175.4 kB / 0.8535 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.173, allocations: 4.625 kB / 0.8535 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.173, allocations: 224 / 0.8535 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.173, allocations: 0.5625 kB / 0.8535 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1732, allocations: 149.1 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1732, allocations: 0.625 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1734, allocations: 36.47 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1734, allocations: 4.531 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1734, allocations: 0 / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1734, allocations: 0.5625 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1734, allocations: 4.594 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.1741, allocations: 254 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1741, allocations: 16.91 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.1742, allocations: 0 / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1743, allocations: 15.98 kB / 0.854 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.1744, allocations: 13.41 kB / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1744, allocations: 8 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1745, allocations: 119.2 kB / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1745, allocations: 1.156 kB / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002217/0.1748, allocations: 32 kB / 0.8541 GB, free: 13.55 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.0001436/0.1749, allocations: 101.1 kB / 0.8542 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.1754, allocations: 216.9 kB / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1754, allocations: 0 / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.1756, allocations: 60.45 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1759, allocations: 42.78 kB / 0.8545 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/0.1767, allocations: 339.4 kB / 0.8549 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.1768, allocations: 93.55 kB / 0.855 GB, free: 12.65 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.962e-05/0.1769, allocations: 24.3 kB / 0.855 GB, free: 12.63 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.177, allocations: 20.02 kB / 0.855 GB, free: 12.61 MB / 490.8 MB Notification: Performance of SimCode: time 4.11e-07/0.177, allocations: 0.625 kB / 0.855 GB, free: 12.61 MB / 490.8 MB Notification: Performance of Templates: time 0.2882/0.4652, allocations: 2.626 MB / 0.8576 GB, free: 28.12 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.474852814804763]