Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_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.002645/0.002645, allocations: 109.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.003116/0.003116, allocations: 213.9 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.733/1.733, allocations: 230.6 MB / 256 MB, free: 9.586 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.47/1.47, allocations: 316.7 MB / 0.6144 GB, free: 93.28 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.Strontium90.Strontium90_Tolstykh2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_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.004072/0.004072, allocations: 73.61 kB / 0.775 GB, free: 14.91 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1784, allocations: 73.99 MB / 0.8472 GB, free: 5.055 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference): time 0.003676/0.1821, allocations: 1.808 MB / 0.849 GB, free: 3.246 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1835, allocations: 0.5415 MB / 0.8495 GB, free: 2.703 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.1836, allocations: 0.5 kB / 0.8495 GB, free: 2.703 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.1837, allocations: 15.84 kB / 0.8495 GB, free: 2.688 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.1841, allocations: 69.55 kB / 0.8496 GB, free: 2.621 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1844, allocations: 65.53 kB / 0.8497 GB, free: 2.562 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.1847, allocations: 163.3 kB / 0.8498 GB, free: 2.402 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.1847, allocations: 5.812 kB / 0.8498 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1849, allocations: 76.34 kB / 0.8499 GB, free: 2.324 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.1852, allocations: 79.72 kB / 0.85 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.1852, allocations: 8.688 kB / 0.85 GB, free: 2.238 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.879e-05/0.1853, allocations: 4 kB / 0.85 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.1854, allocations: 40.45 kB / 0.85 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1855, allocations: 44.47 kB / 0.8501 GB, free: 2.152 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1857, allocations: 103.5 kB / 0.8502 GB, free: 2.051 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1857, allocations: 4.562 kB / 0.8502 GB, free: 2.047 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1857, allocations: 0 / 0.8502 GB, free: 2.047 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1857, allocations: 0.6875 kB / 0.8502 GB, free: 2.047 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.001086/0.1868, allocations: 389.5 kB / 0.8505 GB, free: 1.633 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1868, allocations: 12.03 kB / 0.8506 GB, free: 1.621 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.1869, allocations: 17.94 kB / 0.8506 GB, free: 1.605 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1872, allocations: 154.8 kB / 0.8507 GB, free: 1.43 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1872, allocations: 8.375 kB / 0.8507 GB, free: 1.422 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.1873, allocations: 10 kB / 0.8507 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.1876, allocations: 97.62 kB / 0.8508 GB, free: 1.312 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1877, allocations: 3.938 kB / 0.8508 GB, free: 1.309 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.1877, allocations: 4 kB / 0.8508 GB, free: 1.305 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1877, allocations: 0 / 0.8508 GB, free: 1.305 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.1881, allocations: 81.72 kB / 0.8509 GB, free: 1.227 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.1888, allocations: 284.3 kB / 0.8512 GB, free: 0.918 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.1893, allocations: 135.4 kB / 0.8513 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.1896, allocations: 53.56 kB / 0.8514 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1896, allocations: 4.625 kB / 0.8514 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.19, allocations: 111.9 kB / 0.8515 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.19, allocations: 0.5625 kB / 0.8515 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000842/0.1908, allocations: 202.8 kB / 0.8517 GB, free: 404 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.1909, allocations: 51.41 kB / 0.8517 GB, free: 340 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1911, allocations: 162.1 kB / 0.8519 GB, free: 172 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003332/0.1915, allocations: 30.45 kB / 0.8519 GB, free: 136 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1916, allocations: 108.1 kB / 0.852 GB, free: 24 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.994e-05/0.1917, allocations: 44.33 kB / 0.8521 GB, free: 15.98 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1918, allocations: 37.7 kB / 0.8521 GB, free: 15.93 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.192, allocations: 327.3 kB / 0.8524 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.1923, allocations: 78.16 kB / 0.8525 GB, free: 15.53 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.1927, allocations: 206.8 kB / 0.8527 GB, free: 15.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.1932, allocations: 146.2 kB / 0.8528 GB, free: 15.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1932, allocations: 0 / 0.8528 GB, free: 15.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006938/0.1939, allocations: 239.7 kB / 0.853 GB, free: 14.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.1939, allocations: 33.7 kB / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1939, allocations: 0 / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1939, allocations: 0 / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.1942, allocations: 31.97 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.1942, allocations: 0.7188 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.1944, allocations: 25.94 kB / 0.8531 GB, free: 14.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1945, allocations: 4 kB / 0.8531 GB, free: 14.79 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.000157/0.1946, allocations: 133.6 kB / 0.8533 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1946, allocations: 11.95 kB / 0.8533 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/0.1953, allocations: 179 kB / 0.8534 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1953, allocations: 0 / 0.8534 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1953, allocations: 1.094 kB / 0.8534 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1953, allocations: 3.938 kB / 0.8534 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1955, allocations: 153.2 kB / 0.8536 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1955, allocations: 0.875 kB / 0.8536 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.1958, allocations: 27.97 kB / 0.8536 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1958, allocations: 1.531 kB / 0.8536 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1958, allocations: 0 / 0.8536 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1958, allocations: 4 kB / 0.8536 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.1958, allocations: 4 kB / 0.8536 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.1966, allocations: 250.1 kB / 0.8539 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1967, allocations: 27.73 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1967, allocations: 4 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1969, allocations: 12.48 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.197, allocations: 15.97 kB / 0.8539 GB, free: 13.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.197, allocations: 4.562 kB / 0.8539 GB, free: 13.93 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001564/0.1972, allocations: 119.8 kB / 0.854 GB, free: 13.81 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1972, allocations: 0.625 kB / 0.854 GB, free: 13.81 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003685/0.1975, allocations: 32 kB / 0.8541 GB, free: 13.78 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.0001631/0.1977, allocations: 106.8 kB / 0.8542 GB, free: 13.67 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.1983, allocations: 214.1 kB / 0.8544 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1984, allocations: 0 / 0.8544 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.1986, allocations: 68.52 kB / 0.8544 GB, free: 13.38 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.199, allocations: 38.95 kB / 0.8545 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.2, allocations: 322.8 kB / 0.8548 GB, free: 13 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2002, allocations: 103.2 kB / 0.8549 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000133/0.2003, allocations: 20.33 kB / 0.8549 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.2004, allocations: 23.42 kB / 0.8549 GB, free: 12.84 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.2004, allocations: 4.562 kB / 0.8549 GB, free: 12.84 MB / 490.8 MB Notification: Performance of Templates: time 0.2932/0.4936, allocations: 2.633 MB / 0.8575 GB, free: 28.12 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4741617678664625]