Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.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.001894/0.001894, allocations: 101.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.002076/0.002076, allocations: 219.5 kB / 22.25 MB, free: 3.562 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.707/1.707, 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.456/1.456, allocations: 316.8 MB / 0.6144 GB, free: 93.52 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a") [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.003582/0.003582, allocations: 77.5 kB / 0.775 GB, free: 14.94 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1774, allocations: 74 MB / 0.8473 GB, free: 5.074 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a): time 0.00429/0.1817, allocations: 1.816 MB / 0.849 GB, free: 3.258 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1829, allocations: 0.5419 MB / 0.8496 GB, free: 2.715 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.1829, allocations: 4 kB / 0.8496 GB, free: 2.711 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 6.83e-05/0.183, allocations: 12.48 kB / 0.8496 GB, free: 2.699 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1832, allocations: 64.92 kB / 0.8496 GB, free: 2.637 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.1834, allocations: 65.45 kB / 0.8497 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1836, allocations: 160 kB / 0.8499 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.124e-05/0.1837, allocations: 5.812 kB / 0.8499 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1838, allocations: 75.7 kB / 0.8499 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.184, allocations: 84.42 kB / 0.85 GB, free: 2.258 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.184, allocations: 8.531 kB / 0.85 GB, free: 2.25 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.003e-05/0.1841, allocations: 8.594 kB / 0.85 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1841, allocations: 31.84 kB / 0.8501 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.1842, allocations: 48.41 kB / 0.8501 GB, free: 2.164 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1844, allocations: 95.56 kB / 0.8502 GB, free: 2.07 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1844, allocations: 0.5312 kB / 0.8502 GB, free: 2.07 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1844, allocations: 0.5625 kB / 0.8502 GB, free: 2.07 MB / 474.8 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1844, allocations: 0 / 0.8502 GB, free: 2.07 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.0007557/0.1851, allocations: 397.3 kB / 0.8506 GB, free: 1.648 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.533e-05/0.1851, allocations: 8.656 kB / 0.8506 GB, free: 1.641 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.1852, allocations: 20.78 kB / 0.8506 GB, free: 1.621 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1854, allocations: 151.5 kB / 0.8508 GB, free: 1.449 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1854, allocations: 5.062 kB / 0.8508 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1854, allocations: 12.12 kB / 0.8508 GB, free: 1.434 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.1857, allocations: 110.4 kB / 0.8509 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1857, allocations: 0 / 0.8509 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1857, allocations: 1.219 kB / 0.8509 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-06/0.1857, allocations: 0 / 0.8509 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.186, allocations: 76.95 kB / 0.8509 GB, free: 1.246 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.1865, allocations: 284.3 kB / 0.8512 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.1869, allocations: 132.8 kB / 0.8513 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1871, allocations: 56.81 kB / 0.8514 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1871, allocations: 0 / 0.8514 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.1873, allocations: 113.9 kB / 0.8515 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1873, allocations: 0 / 0.8515 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005766/0.1879, allocations: 204.8 kB / 0.8517 GB, free: 428 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.188, allocations: 55.94 kB / 0.8518 GB, free: 360 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1881, allocations: 157.5 kB / 0.8519 GB, free: 196 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1882, allocations: 30.7 kB / 0.8519 GB, free: 160 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.1883, allocations: 112 kB / 0.852 GB, free: 44 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.1883, allocations: 43.64 kB / 0.8521 GB, free: 0 / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1884, allocations: 39.75 kB / 0.8521 GB, free: 15.95 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1886, allocations: 326.8 kB / 0.8524 GB, free: 15.62 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1888, allocations: 81.66 kB / 0.8525 GB, free: 15.54 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1891, allocations: 198.8 kB / 0.8527 GB, free: 15.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.1894, allocations: 145.9 kB / 0.8528 GB, free: 15.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1894, allocations: 4 kB / 0.8528 GB, free: 15.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004861/0.1899, allocations: 237.9 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.19, allocations: 33.7 kB / 0.8531 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.19, allocations: 0.5938 kB / 0.8531 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.19, allocations: 0.625 kB / 0.8531 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1901, allocations: 24.67 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1901, allocations: 8.203 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1903, allocations: 24.56 kB / 0.8532 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1903, allocations: 12.56 kB / 0.8532 GB, free: 14.8 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.0001203/0.1905, allocations: 130.3 kB / 0.8533 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1905, allocations: 7.953 kB / 0.8533 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.1909, allocations: 171.5 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1909, allocations: 0.6875 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1909, allocations: 3.938 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.1909, allocations: 12.58 kB / 0.8535 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1911, allocations: 153.8 kB / 0.8536 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1911, allocations: 0 / 0.8536 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1913, allocations: 24.58 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1913, allocations: 0.7188 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1913, allocations: 4 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1913, allocations: 0.7188 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1913, allocations: 3.984 kB / 0.8537 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.1919, allocations: 252.4 kB / 0.8539 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.1919, allocations: 16.42 kB / 0.8539 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.192, allocations: 8.578 kB / 0.8539 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1921, allocations: 12.58 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.1921, allocations: 15.98 kB / 0.854 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1922, allocations: 4.609 kB / 0.854 GB, free: 13.95 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1923, allocations: 119.9 kB / 0.8541 GB, free: 13.83 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1923, allocations: 0 / 0.8541 GB, free: 13.83 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002064/0.1925, allocations: 32.56 kB / 0.8541 GB, free: 13.8 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.0001372/0.1926, allocations: 100.4 kB / 0.8542 GB, free: 13.69 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.1931, allocations: 216.3 kB / 0.8544 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1931, allocations: 4.969 kB / 0.8544 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1933, allocations: 66.77 kB / 0.8545 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1936, allocations: 49.12 kB / 0.8545 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/0.1945, allocations: 318.8 kB / 0.8548 GB, free: 13.02 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.1946, allocations: 103.1 kB / 0.8549 GB, free: 12.9 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.556e-05/0.1947, allocations: 20.11 kB / 0.8549 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.1948, allocations: 15.44 kB / 0.855 GB, free: 12.87 MB / 490.8 MB Notification: Performance of SimCode: time 3.11e-07/0.1948, allocations: 5.781 kB / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of Templates: time 0.3178/0.5126, allocations: 2.627 MB / 0.8575 GB, free: 28.14 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.614973728079349]