Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.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.00237/0.00237, 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.002664/0.002664, allocations: 218.4 kB / 22.25 MB, free: 3.574 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.765/1.765, allocations: 230.6 MB / 256 MB, free: 9.637 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.455/1.455, 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.Cotinine.Cotinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") [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.003713/0.003713, allocations: 74.06 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1579, allocations: 73.98 MB / 0.8473 GB, free: 4.867 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine): time 0.003697/0.1616, allocations: 1.82 MB / 0.849 GB, free: 3.047 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1628, allocations: 0.5459 MB / 0.8496 GB, free: 2.5 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.1629, allocations: 0.5312 kB / 0.8496 GB, free: 2.5 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.163, allocations: 16.58 kB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.1634, allocations: 68.62 kB / 0.8496 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1636, allocations: 61.5 kB / 0.8497 GB, free: 2.363 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1639, allocations: 163.8 kB / 0.8499 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.1639, allocations: 9.75 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1641, allocations: 71.77 kB / 0.8499 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.1644, allocations: 85.33 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.1644, allocations: 8 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.1644, allocations: 11.94 kB / 0.85 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.1645, allocations: 35.89 kB / 0.8501 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.1646, allocations: 49.12 kB / 0.8501 GB, free: 1.941 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1648, allocations: 91.58 kB / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1648, allocations: 0 / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1648, allocations: 1.094 kB / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1648, allocations: 0 / 0.8502 GB, free: 1.852 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.0009174/0.1657, allocations: 393.4 kB / 0.8506 GB, free: 1.434 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1657, allocations: 8.031 kB / 0.8506 GB, free: 1.426 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.1658, allocations: 24.83 kB / 0.8506 GB, free: 1.402 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1661, allocations: 151.4 kB / 0.8508 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1661, allocations: 4.375 kB / 0.8508 GB, free: 1.227 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.1661, allocations: 18.5 kB / 0.8508 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.1664, allocations: 93.62 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1664, allocations: 7.984 kB / 0.8509 GB, free: 1.105 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1665, allocations: 4 kB / 0.8509 GB, free: 1.102 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1665, allocations: 0 / 0.8509 GB, free: 1.102 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.1668, allocations: 77.95 kB / 0.851 GB, free: 1.027 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.1673, allocations: 284.3 kB / 0.8512 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.1678, allocations: 139.7 kB / 0.8514 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1679, allocations: 52.83 kB / 0.8514 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.168, allocations: 5.109 kB / 0.8514 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.1683, allocations: 115.3 kB / 0.8515 GB, free: 400 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1683, allocations: 0.8125 kB / 0.8515 GB, free: 400 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006307/0.1689, allocations: 198.9 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.169, allocations: 51.41 kB / 0.8518 GB, free: 132 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1692, allocations: 158 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.1692, allocations: 33.7 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.1693, allocations: 104.6 kB / 0.852 GB, free: 15.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.1694, allocations: 48.05 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.1695, allocations: 41.7 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1696, allocations: 327.5 kB / 0.8524 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.1699, allocations: 86.14 kB / 0.8525 GB, free: 15.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.1702, allocations: 201 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1705, allocations: 143.5 kB / 0.8529 GB, free: 14.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1705, allocations: 0.625 kB / 0.8529 GB, free: 14.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005086/0.171, allocations: 240.6 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.1711, allocations: 37.69 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1711, allocations: 0.5938 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1711, allocations: 0.6562 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1713, allocations: 28.14 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1713, allocations: 4.656 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1715, allocations: 32.31 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.1715, allocations: 4.625 kB / 0.8532 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.0001326/0.1716, allocations: 122.4 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1716, allocations: 12.58 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.1721, allocations: 179 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1721, allocations: 0.5938 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1721, allocations: 0 / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1721, allocations: 0.5938 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1723, allocations: 145.8 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1723, allocations: 0 / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.1725, allocations: 28.69 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1725, allocations: 0.8438 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1725, allocations: 8 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1725, allocations: 0 / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1725, allocations: 0.5938 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.1731, allocations: 263.6 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.1732, allocations: 16.52 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1732, allocations: 0.5938 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1733, allocations: 16.55 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.1734, allocations: 11.97 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.1734, allocations: 4.594 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1735, allocations: 119.8 kB / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1735, allocations: 0 / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002286/0.1738, allocations: 32.56 kB / 0.8541 GB, free: 13.58 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.1739, allocations: 104.5 kB / 0.8542 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.1744, allocations: 213.5 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1744, allocations: 1.844 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1746, allocations: 59.89 kB / 0.8545 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.175, allocations: 46.03 kB / 0.8545 GB, free: 13.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/0.1758, allocations: 334.1 kB / 0.8548 GB, free: 12.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.1759, allocations: 99.58 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.176, allocations: 27.72 kB / 0.855 GB, free: 12.65 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.1761, allocations: 16.09 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.1761, allocations: 4 kB / 0.855 GB, free: 12.63 MB / 490.8 MB Notification: Performance of Templates: time 0.3085/0.4846, allocations: 2.618 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.47302435990423]