Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.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.007256/0.007256, 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.002856/0.002856, allocations: 215.5 kB / 22.25 MB, free: 3.57 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.793/1.793, 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.405/1.405, allocations: 316.8 MB / 0.6144 GB, free: 93.41 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.BasicBerylliumCarbonate.BasicBerylliumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate") [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.004021/0.004021, allocations: 73.52 kB / 0.775 GB, free: 14.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1805, allocations: 73.99 MB / 0.8473 GB, free: 5.109 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate): time 0.003833/0.1843, allocations: 1.824 MB / 0.8491 GB, free: 3.285 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1856, allocations: 0.5457 MB / 0.8496 GB, free: 2.738 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.1856, allocations: 0.5938 kB / 0.8496 GB, free: 2.738 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1858, allocations: 11.86 kB / 0.8496 GB, free: 2.727 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.1862, allocations: 68.81 kB / 0.8497 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1864, allocations: 66.34 kB / 0.8498 GB, free: 2.602 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.1866, allocations: 163.3 kB / 0.8499 GB, free: 2.441 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.1867, allocations: 9.828 kB / 0.8499 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1868, allocations: 71.7 kB / 0.85 GB, free: 2.363 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1871, allocations: 88.36 kB / 0.8501 GB, free: 2.277 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.1871, allocations: 8.875 kB / 0.8501 GB, free: 2.27 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/0.1872, allocations: 4 kB / 0.8501 GB, free: 2.266 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.1873, allocations: 35.84 kB / 0.8501 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.1873, allocations: 44.5 kB / 0.8502 GB, free: 2.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1875, allocations: 96.23 kB / 0.8502 GB, free: 2.094 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1875, allocations: 0 / 0.8502 GB, free: 2.094 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1875, allocations: 0.6562 kB / 0.8502 GB, free: 2.094 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1875, allocations: 0 / 0.8502 GB, free: 2.094 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.0009293/0.1885, allocations: 397.5 kB / 0.8506 GB, free: 1.672 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1885, allocations: 12.03 kB / 0.8506 GB, free: 1.66 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.1886, allocations: 13.47 kB / 0.8507 GB, free: 1.648 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1888, allocations: 146.9 kB / 0.8508 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1889, allocations: 5.094 kB / 0.8508 GB, free: 1.477 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.1889, allocations: 20.11 kB / 0.8508 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.1892, allocations: 98.23 kB / 0.8509 GB, free: 1.355 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1892, allocations: 0.6562 kB / 0.8509 GB, free: 1.355 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1892, allocations: 9.188 kB / 0.8509 GB, free: 1.348 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1892, allocations: 4 kB / 0.8509 GB, free: 1.344 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1895, allocations: 77.05 kB / 0.851 GB, free: 1.27 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.1901, allocations: 284.3 kB / 0.8513 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.1906, allocations: 135.8 kB / 0.8514 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1907, allocations: 52.83 kB / 0.8514 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1908, allocations: 9.078 kB / 0.8515 GB, free: 0.7578 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.1911, allocations: 109.9 kB / 0.8516 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1911, allocations: 0 / 0.8516 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006405/0.1917, allocations: 197.6 kB / 0.8518 GB, free: 452 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1918, allocations: 55.39 kB / 0.8518 GB, free: 384 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.192, allocations: 165.5 kB / 0.852 GB, free: 212 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.192, allocations: 27.27 kB / 0.852 GB, free: 180 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.1921, allocations: 108.1 kB / 0.8521 GB, free: 68 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.1921, allocations: 43.62 kB / 0.8521 GB, free: 24 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1922, allocations: 41.7 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1924, allocations: 332.2 kB / 0.8525 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1926, allocations: 77.66 kB / 0.8526 GB, free: 15.56 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.1929, allocations: 202.9 kB / 0.8528 GB, free: 15.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.1933, allocations: 146.2 kB / 0.8529 GB, free: 15.18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1933, allocations: 0 / 0.8529 GB, free: 15.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005104/0.1938, allocations: 237.9 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.1939, allocations: 34.44 kB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1939, allocations: 4 kB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1939, allocations: 0.625 kB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1941, allocations: 23.98 kB / 0.8532 GB, free: 14.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1941, allocations: 0.5938 kB / 0.8532 GB, free: 14.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1942, allocations: 32.5 kB / 0.8532 GB, free: 14.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1943, allocations: 8.922 kB / 0.8532 GB, free: 14.82 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.0001354/0.1944, allocations: 126.5 kB / 0.8533 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1944, allocations: 15.89 kB / 0.8534 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.1949, allocations: 167.5 kB / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1949, allocations: 8.531 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1949, allocations: 0 / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1949, allocations: 0.5625 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1951, allocations: 153.7 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1951, allocations: 0 / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1953, allocations: 28.52 kB / 0.8537 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1953, allocations: 0.5 kB / 0.8537 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1953, allocations: 0.5938 kB / 0.8537 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1953, allocations: 0 / 0.8537 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1953, allocations: 4.531 kB / 0.8537 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.196, allocations: 264 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.196, allocations: 12.58 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.196, allocations: 0.6875 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1962, allocations: 15.98 kB / 0.854 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.1962, allocations: 13.41 kB / 0.854 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1963, allocations: 8 kB / 0.854 GB, free: 13.97 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000127/0.1964, allocations: 119.2 kB / 0.8541 GB, free: 13.86 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1964, allocations: 0.875 kB / 0.8541 GB, free: 13.86 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002328/0.1966, allocations: 35.98 kB / 0.8542 GB, free: 13.82 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.0001481/0.1968, allocations: 104.9 kB / 0.8543 GB, free: 13.71 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.1973, allocations: 214.8 kB / 0.8545 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1973, allocations: 1.281 kB / 0.8545 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.1975, allocations: 67.88 kB / 0.8545 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1978, allocations: 44.14 kB / 0.8546 GB, free: 13.38 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.1986, allocations: 323.1 kB / 0.8549 GB, free: 13.04 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.1988, allocations: 96.05 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1989, allocations: 31.16 kB / 0.855 GB, free: 12.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.1989, allocations: 16.03 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.1989, allocations: 0.625 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of Templates: time 0.3601/0.5591, allocations: 2.621 MB / 0.8576 GB, free: 28.27 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.536962426966056]