Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_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.002206/0.002206, 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.002492/0.002492, allocations: 218.2 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.692/1.692, allocations: 230.6 MB / 256 MB, free: 9.598 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.593/1.593, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.DomoicAcid.DomoicAcid_GarcaCorona20242_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_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.004535/0.004535, allocations: 81.31 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1825, allocations: 73.99 MB / 0.8472 GB, free: 4.938 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference): time 0.003707/0.1862, allocations: 1.816 MB / 0.849 GB, free: 3.121 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1875, allocations: 0.5454 MB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.1876, allocations: 0.6562 kB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1877, allocations: 15.86 kB / 0.8496 GB, free: 2.559 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.1881, allocations: 65.05 kB / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1883, allocations: 65.7 kB / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.1886, allocations: 159.8 kB / 0.8498 GB, free: 2.277 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.1887, allocations: 10 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1888, allocations: 71.7 kB / 0.8499 GB, free: 2.199 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1891, allocations: 88.14 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.1892, allocations: 12.61 kB / 0.85 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.1892, allocations: 8 kB / 0.85 GB, free: 2.094 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.1893, allocations: 29.19 kB / 0.8501 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.764e-05/0.1894, allocations: 43.8 kB / 0.8501 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1896, allocations: 95.56 kB / 0.8502 GB, free: 1.93 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.1896, allocations: 5.078 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1896, allocations: 0 / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1896, allocations: 0 / 0.8502 GB, free: 1.926 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.000992/0.1906, allocations: 397.2 kB / 0.8506 GB, free: 1.504 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1907, allocations: 8.781 kB / 0.8506 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.1907, allocations: 16.84 kB / 0.8506 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.1911, allocations: 149.4 kB / 0.8507 GB, free: 1.312 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1912, allocations: 8.375 kB / 0.8507 GB, free: 1.305 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.1912, allocations: 8.125 kB / 0.8508 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.1915, allocations: 105.4 kB / 0.8509 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1915, allocations: 4 kB / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1915, allocations: 0 / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1915, allocations: 1.875 kB / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.1918, allocations: 75.92 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.1924, allocations: 292.2 kB / 0.8512 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1928, allocations: 135.7 kB / 0.8513 GB, free: 0.6562 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.193, allocations: 61.45 kB / 0.8514 GB, free: 0.5938 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.193, allocations: 0 / 0.8514 GB, free: 0.5938 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.1933, allocations: 112.5 kB / 0.8515 GB, free: 484 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1933, allocations: 0 / 0.8515 GB, free: 484 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006418/0.1939, allocations: 202.9 kB / 0.8517 GB, free: 276 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.194, allocations: 52.03 kB / 0.8517 GB, free: 212 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1942, allocations: 166 kB / 0.8519 GB, free: 40 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1942, allocations: 29.7 kB / 0.8519 GB, free: 4 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1943, allocations: 104.7 kB / 0.852 GB, free: 15.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.1944, allocations: 40.3 kB / 0.8521 GB, free: 15.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.1945, allocations: 45.69 kB / 0.8521 GB, free: 15.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1947, allocations: 327.3 kB / 0.8524 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1949, allocations: 82.28 kB / 0.8525 GB, free: 15.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.1952, allocations: 198.6 kB / 0.8527 GB, free: 15.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.1955, allocations: 145.9 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1955, allocations: 0.5 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005014/0.196, allocations: 241.5 kB / 0.8531 GB, free: 14.76 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.1961, allocations: 34.33 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1961, allocations: 1.781 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1961, allocations: 0 / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.1963, allocations: 31.92 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1963, allocations: 0 / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.1966, allocations: 32.39 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1966, allocations: 6.062 kB / 0.8532 GB, free: 14.66 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.0001907/0.1968, allocations: 122.3 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1969, allocations: 11.95 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.1973, allocations: 175.3 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1973, allocations: 224 / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1973, allocations: 0 / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1974, allocations: 4.5 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1976, allocations: 158.1 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1976, allocations: 0 / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1977, allocations: 23.98 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1977, allocations: 0.8125 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1977, allocations: 4 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1977, allocations: 1.281 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1977, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.1984, allocations: 264.3 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.1984, allocations: 11.92 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.1984, allocations: 4 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1986, allocations: 11.98 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.1986, allocations: 16.56 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1987, allocations: 4 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1988, allocations: 126.6 kB / 0.8541 GB, free: 13.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1988, allocations: 0.5938 kB / 0.8541 GB, free: 13.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002267/0.199, allocations: 32 kB / 0.8541 GB, free: 13.66 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.0001519/0.1992, allocations: 104.3 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.1997, allocations: 214.2 kB / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1997, allocations: 0 / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.1999, allocations: 68.52 kB / 0.8545 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2002, allocations: 44.56 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.2011, allocations: 326.7 kB / 0.8548 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.2012, allocations: 102.8 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.2014, allocations: 24.39 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.2014, allocations: 20 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of SimCode: time 5.92e-07/0.2014, allocations: 0.6875 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of Templates: time 0.3105/0.5119, allocations: 2.621 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.620334499981254]