Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t.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.002177/0.002177, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002155/0.002155, allocations: 219.6 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.671/1.671, allocations: 230.6 MB / 256 MB, free: 9.594 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.433/1.433, allocations: 316.7 MB / 0.6144 GB, free: 93.23 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.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t") [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.005383/0.005383, allocations: 73.23 kB / 0.7749 GB, free: 14.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1861, allocations: 74 MB / 0.8472 GB, free: 5.09 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t): time 0.002112/0.1883, allocations: 0.6248 MB / 0.8478 GB, free: 4.48 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.432e-05/0.1883, allocations: 12.5 kB / 0.8478 GB, free: 4.469 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.1884, allocations: 0.625 kB / 0.8478 GB, free: 4.469 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.1884, allocations: 3.938 kB / 0.8478 GB, free: 4.465 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.1884, allocations: 4.438 kB / 0.8478 GB, free: 4.461 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.669e-05/0.1885, allocations: 8.594 kB / 0.8478 GB, free: 4.453 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.1885, allocations: 12.58 kB / 0.8478 GB, free: 4.441 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.342e-05/0.1886, allocations: 4 kB / 0.8478 GB, free: 4.438 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.1886, allocations: 8.609 kB / 0.8479 GB, free: 4.43 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.1887, allocations: 7.875 kB / 0.8479 GB, free: 4.422 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1887, allocations: 0.5938 kB / 0.8479 GB, free: 4.422 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.1887, allocations: 4.5 kB / 0.8479 GB, free: 4.418 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.1887, allocations: 11.92 kB / 0.8479 GB, free: 4.406 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1888, allocations: 0.625 kB / 0.8479 GB, free: 4.406 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.1888, allocations: 16.5 kB / 0.8479 GB, free: 4.391 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1888, allocations: 0 / 0.8479 GB, free: 4.391 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1888, allocations: 0.5938 kB / 0.8479 GB, free: 4.391 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1888, allocations: 0.625 kB / 0.8479 GB, free: 4.391 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004516/0.1893, allocations: 254.9 kB / 0.8481 GB, free: 4.109 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1893, allocations: 12.03 kB / 0.8482 GB, free: 4.098 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1894, allocations: 1.688 kB / 0.8482 GB, free: 4.098 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1895, allocations: 118.4 kB / 0.8483 GB, free: 3.957 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1895, allocations: 5 kB / 0.8483 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1895, allocations: 1.219 kB / 0.8483 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1897, allocations: 38.25 kB / 0.8483 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1897, allocations: 192 / 0.8483 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1897, allocations: 8.469 kB / 0.8483 GB, free: 3.902 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1897, allocations: 0.7812 kB / 0.8483 GB, free: 3.902 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.832e-05/0.1897, allocations: 11.98 kB / 0.8483 GB, free: 3.891 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.1899, allocations: 102.1 kB / 0.8484 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1901, allocations: 54.52 kB / 0.8485 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.1902, allocations: 17.7 kB / 0.8485 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.1902, allocations: 0.75 kB / 0.8485 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.1902, allocations: 34.56 kB / 0.8485 GB, free: 3.637 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1902, allocations: 0.5938 kB / 0.8485 GB, free: 3.637 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001863/0.1904, allocations: 61.56 kB / 0.8486 GB, free: 3.57 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1905, allocations: 52 kB / 0.8486 GB, free: 3.508 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.1906, allocations: 102.5 kB / 0.8487 GB, free: 3.398 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1906, allocations: 25.7 kB / 0.8488 GB, free: 3.367 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.1907, allocations: 88.94 kB / 0.8488 GB, free: 3.277 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1907, allocations: 11.91 kB / 0.8489 GB, free: 3.266 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.1907, allocations: 14.34 kB / 0.8489 GB, free: 3.246 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1909, allocations: 314.8 kB / 0.8492 GB, free: 2.93 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.1909, allocations: 9.328 kB / 0.8492 GB, free: 2.922 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.191, allocations: 8 kB / 0.8492 GB, free: 2.914 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.191, allocations: 21.14 kB / 0.8492 GB, free: 2.891 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.191, allocations: 1.094 kB / 0.8492 GB, free: 2.891 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.786e-05/0.1911, allocations: 57.61 kB / 0.8493 GB, free: 2.828 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1911, allocations: 4 kB / 0.8493 GB, free: 2.824 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1911, allocations: 2.031 kB / 0.8493 GB, free: 2.824 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1911, allocations: 3.938 kB / 0.8493 GB, free: 2.82 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.1912, allocations: 7.938 kB / 0.8493 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1912, allocations: 4 kB / 0.8493 GB, free: 2.809 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.1912, allocations: 3.953 kB / 0.8493 GB, free: 2.805 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1912, allocations: 0 / 0.8493 GB, free: 2.805 MB / 474.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 9.617e-05/0.1913, allocations: 117.4 kB / 0.8494 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.1913, allocations: 4 kB / 0.8494 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.1914, allocations: 7.688 kB / 0.8494 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1914, allocations: 3.938 kB / 0.8494 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1914, allocations: 0 / 0.8494 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1914, allocations: 4 kB / 0.8494 GB, free: 2.664 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1915, allocations: 111.4 kB / 0.8495 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1915, allocations: 0 / 0.8495 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.1915, allocations: 4 kB / 0.8495 GB, free: 2.523 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1915, allocations: 4 kB / 0.8495 GB, free: 2.52 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1915, allocations: 3.938 kB / 0.8495 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1915, allocations: 1.281 kB / 0.8495 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.1916, allocations: 7.922 kB / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1917, allocations: 81.02 kB / 0.8496 GB, free: 2.41 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-06/0.1917, allocations: 0 / 0.8496 GB, free: 2.41 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1917, allocations: 5.031 kB / 0.8496 GB, free: 2.406 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.1917, allocations: 0 / 0.8496 GB, free: 2.406 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.1917, allocations: 7.922 kB / 0.8496 GB, free: 2.398 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.1917, allocations: 0.8438 kB / 0.8496 GB, free: 2.398 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.1918, allocations: 87.84 kB / 0.8497 GB, free: 2.312 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1918, allocations: 0 / 0.8497 GB, free: 2.312 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000175/0.192, allocations: 4.562 kB / 0.8497 GB, free: 2.309 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000136/0.1921, allocations: 103.9 kB / 0.8498 GB, free: 2.195 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1922, allocations: 24.55 kB / 0.8498 GB, free: 2.172 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1922, allocations: 0.6875 kB / 0.8498 GB, free: 2.172 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.1922, allocations: 4 kB / 0.8498 GB, free: 2.168 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1924, allocations: 11.88 kB / 0.8499 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.1927, allocations: 113.5 kB / 0.85 GB, free: 2.023 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.7e-05/0.1928, allocations: 63.94 kB / 0.85 GB, free: 1.941 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.1928, allocations: 0.7188 kB / 0.85 GB, free: 1.941 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1928, allocations: 11.44 kB / 0.85 GB, free: 1.93 MB / 474.8 MB Notification: Performance of SimCode: time 3.11e-07/0.1928, allocations: 0.5312 kB / 0.85 GB, free: 1.93 MB / 474.8 MB Notification: Performance of Templates: time 0.002947/0.1958, allocations: 419 kB / 0.8504 GB, free: 1.59 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_eca_t.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.387305145151913]