Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.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.002032/0.002032, 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.002853/0.002853, 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.718/1.718, 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.488/1.488, 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.Testosterone.Testosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") [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.003895/0.003895, allocations: 73.52 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1664, allocations: 73.99 MB / 0.8473 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone): time 0.00351/0.17, allocations: 1.832 MB / 0.8491 GB, free: 3.082 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1712, allocations: 0.542 MB / 0.8496 GB, free: 2.539 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.1712, allocations: 0.7188 kB / 0.8496 GB, free: 2.539 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1713, allocations: 11.86 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.1717, allocations: 80.36 kB / 0.8497 GB, free: 2.453 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1719, allocations: 57.84 kB / 0.8497 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1721, allocations: 163.8 kB / 0.8499 GB, free: 2.238 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.1722, allocations: 13.8 kB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1723, allocations: 72.33 kB / 0.85 GB, free: 2.156 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1726, allocations: 84.14 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1726, allocations: 8 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-05/0.1726, allocations: 8.531 kB / 0.8501 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.1727, allocations: 28.56 kB / 0.8501 GB, free: 2.031 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.1728, allocations: 47.78 kB / 0.8501 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.173, allocations: 92.14 kB / 0.8502 GB, free: 1.895 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.173, allocations: 4.562 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.195e-06/0.173, allocations: 0 / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.173, allocations: 0.625 kB / 0.8502 GB, free: 1.891 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.000896/0.1739, allocations: 398.8 kB / 0.8506 GB, free: 1.469 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1739, allocations: 8.031 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.174, allocations: 18.59 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1742, allocations: 146.9 kB / 0.8508 GB, free: 1.277 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1743, allocations: 12.31 kB / 0.8508 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.1743, allocations: 12.12 kB / 0.8508 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.1747, allocations: 102.9 kB / 0.8509 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1747, allocations: 0 / 0.8509 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1747, allocations: 0 / 0.8509 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1747, allocations: 5.031 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1751, allocations: 79.92 kB / 0.851 GB, free: 1.066 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.1758, allocations: 294 kB / 0.8513 GB, free: 0.75 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.1764, allocations: 126.5 kB / 0.8514 GB, free: 0.6172 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.1766, allocations: 61.56 kB / 0.8514 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1766, allocations: 2.5 kB / 0.8514 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/0.177, allocations: 107.3 kB / 0.8515 GB, free: 448 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.177, allocations: 3.938 kB / 0.8515 GB, free: 444 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008431/0.1778, allocations: 199 kB / 0.8517 GB, free: 244 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1779, allocations: 59.39 kB / 0.8518 GB, free: 172 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1781, allocations: 161.3 kB / 0.8519 GB, free: 4 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/0.1782, allocations: 25.7 kB / 0.852 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1783, allocations: 104.1 kB / 0.8521 GB, free: 15.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.1784, allocations: 52.91 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1785, allocations: 37.69 kB / 0.8522 GB, free: 15.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.1787, allocations: 326.8 kB / 0.8525 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.179, allocations: 82.31 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.1794, allocations: 199.3 kB / 0.8527 GB, free: 15.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.1799, allocations: 149.4 kB / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1799, allocations: 0.625 kB / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000724/0.1807, allocations: 237.3 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.1807, allocations: 34.3 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1807, allocations: 0.5625 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1807, allocations: 0 / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.181, allocations: 32.55 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.181, allocations: 4.562 kB / 0.8532 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.1812, allocations: 20.41 kB / 0.8532 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1813, allocations: 8.578 kB / 0.8532 GB, free: 14.62 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.0001624/0.1814, allocations: 126.5 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.1815, allocations: 8.547 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.1821, allocations: 178.9 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1821, allocations: 0.5625 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1821, allocations: 4.656 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1821, allocations: 0 / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.1824, allocations: 161.8 kB / 0.8537 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1824, allocations: 0 / 0.8537 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1826, allocations: 20.58 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1826, allocations: 0.625 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1826, allocations: 4 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1826, allocations: 0.625 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1827, allocations: 0.5312 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/0.1836, allocations: 258 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.1836, allocations: 12.61 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1836, allocations: 8 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.1838, allocations: 8.625 kB / 0.854 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1839, allocations: 24.67 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1839, allocations: 8 kB / 0.854 GB, free: 13.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001663/0.1841, allocations: 120 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1841, allocations: 4 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003686/0.1845, allocations: 28.62 kB / 0.8541 GB, free: 13.61 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.0001668/0.1846, allocations: 100.3 kB / 0.8542 GB, free: 13.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.1853, allocations: 216.2 kB / 0.8544 GB, free: 13.28 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1853, allocations: 0.5312 kB / 0.8544 GB, free: 13.28 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.1856, allocations: 64.52 kB / 0.8545 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.1861, allocations: 42.06 kB / 0.8545 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1871, allocations: 324 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.1872, allocations: 98.08 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.1874, allocations: 24.47 kB / 0.855 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.1875, allocations: 19.44 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of SimCode: time 4.21e-07/0.1875, allocations: 0.5625 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of Templates: time 0.3002/0.4876, allocations: 2.627 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.479644925100729]