Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_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.002449/0.002449, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002845/0.002845, allocations: 214.4 kB / 22.25 MB, free: 3.559 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.729/1.729, allocations: 230.6 MB / 256 MB, free: 9.605 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.515/1.515, allocations: 316.7 MB / 0.6144 GB, free: 93.27 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.StrontiumChromate.StrontiumChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_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.004113/0.004113, allocations: 73.41 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.176, allocations: 73.99 MB / 0.8472 GB, free: 4.949 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference): time 0.003756/0.1797, allocations: 1.82 MB / 0.849 GB, free: 3.129 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1811, allocations: 0.5416 MB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.1812, allocations: 0.5938 kB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.1813, allocations: 11.86 kB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.1817, allocations: 68.52 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1819, allocations: 66.3 kB / 0.8497 GB, free: 2.449 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1822, allocations: 163.3 kB / 0.8498 GB, free: 2.289 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.1822, allocations: 9.797 kB / 0.8498 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1824, allocations: 68.36 kB / 0.8499 GB, free: 2.215 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.1827, allocations: 88.14 kB / 0.85 GB, free: 2.129 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1827, allocations: 4 kB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.1827, allocations: 8.594 kB / 0.85 GB, free: 2.117 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.1828, allocations: 36.55 kB / 0.85 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.1829, allocations: 43.8 kB / 0.8501 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1831, allocations: 100.2 kB / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1831, allocations: 0 / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1831, allocations: 0.5 kB / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1831, allocations: 0.6875 kB / 0.8502 GB, free: 1.941 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.000921/0.184, allocations: 392.7 kB / 0.8505 GB, free: 1.523 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.184, allocations: 9.938 kB / 0.8505 GB, free: 1.516 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.1841, allocations: 16.84 kB / 0.8506 GB, free: 1.5 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1844, allocations: 150.8 kB / 0.8507 GB, free: 1.328 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1844, allocations: 8.375 kB / 0.8507 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1844, allocations: 16.06 kB / 0.8507 GB, free: 1.305 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1847, allocations: 102.3 kB / 0.8508 GB, free: 1.199 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1847, allocations: 1.938 kB / 0.8508 GB, free: 1.199 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1847, allocations: 3.984 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1848, allocations: 4 kB / 0.8508 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.185, allocations: 77.14 kB / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.1859, allocations: 284.3 kB / 0.8512 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.1864, allocations: 139.1 kB / 0.8513 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1865, allocations: 49.39 kB / 0.8514 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1866, allocations: 5.938 kB / 0.8514 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.1869, allocations: 115.3 kB / 0.8515 GB, free: 496 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1869, allocations: 0 / 0.8515 GB, free: 496 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000642/0.1875, allocations: 199.1 kB / 0.8517 GB, free: 296 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.1876, allocations: 63.39 kB / 0.8517 GB, free: 220 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1878, allocations: 157.3 kB / 0.8519 GB, free: 56 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1878, allocations: 25.7 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1879, allocations: 108.1 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.188, allocations: 44.42 kB / 0.852 GB, free: 15.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.188, allocations: 33.7 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1882, allocations: 335.3 kB / 0.8524 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1885, allocations: 82.38 kB / 0.8525 GB, free: 15.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.1888, allocations: 197.1 kB / 0.8527 GB, free: 15.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1891, allocations: 147.6 kB / 0.8528 GB, free: 15.03 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1891, allocations: 0 / 0.8528 GB, free: 15.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005538/0.1897, allocations: 240.7 kB / 0.853 GB, free: 14.78 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/0.1897, allocations: 33.69 kB / 0.8531 GB, free: 14.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1898, allocations: 4.594 kB / 0.8531 GB, free: 14.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.1898, allocations: 4.688 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.19, allocations: 28.61 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.19, allocations: 0 / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1902, allocations: 20.38 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.1902, allocations: 16.55 kB / 0.8531 GB, free: 14.67 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.0001604/0.1904, allocations: 122.6 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1904, allocations: 7.953 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.1909, allocations: 171.9 kB / 0.8534 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1909, allocations: 4 kB / 0.8534 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1909, allocations: 4.5 kB / 0.8534 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1909, allocations: 0.75 kB / 0.8534 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.1912, allocations: 157.2 kB / 0.8536 GB, free: 14.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1912, allocations: 4.656 kB / 0.8536 GB, free: 14.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1913, allocations: 20.61 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1913, allocations: 7.938 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1914, allocations: 0.5938 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1914, allocations: 4.578 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1914, allocations: 0 / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.192, allocations: 262 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.1921, allocations: 12.39 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1921, allocations: 4.594 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1922, allocations: 12.52 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.1923, allocations: 16.53 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1923, allocations: 4 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1925, allocations: 119.9 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1925, allocations: 0 / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002278/0.1927, allocations: 32.69 kB / 0.8541 GB, free: 13.67 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.0001765/0.1929, allocations: 107.8 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.1934, allocations: 210.2 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1934, allocations: 0.5625 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.1936, allocations: 64.58 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1939, allocations: 46.89 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.1947, allocations: 322.8 kB / 0.8548 GB, free: 12.89 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.1949, allocations: 99.31 kB / 0.8549 GB, free: 12.77 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.195, allocations: 28.2 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.195, allocations: 24.03 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.195, allocations: 0 / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of Templates: time 0.276/0.471, allocations: 2.63 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.477354373782873]