Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_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.00195/0.00195, 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.002181/0.002181, allocations: 211.6 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.799/1.799, allocations: 230.6 MB / 256 MB, free: 9.578 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.493/1.493, 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.SodiumSelenite.SodiumSelenite_Patterson1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_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.004037/0.004037, allocations: 73.25 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1789, allocations: 73.99 MB / 0.8473 GB, free: 5.145 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference): time 0.005173/0.184, allocations: 1.812 MB / 0.849 GB, free: 3.332 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1857, allocations: 0.5457 MB / 0.8496 GB, free: 2.785 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.1858, allocations: 3.938 kB / 0.8496 GB, free: 2.781 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1859, allocations: 12.36 kB / 0.8496 GB, free: 2.77 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.1864, allocations: 64.91 kB / 0.8497 GB, free: 2.707 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1867, allocations: 65.64 kB / 0.8497 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.1871, allocations: 164 kB / 0.8499 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.1871, allocations: 9.891 kB / 0.8499 GB, free: 2.477 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1873, allocations: 71.75 kB / 0.85 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.1876, allocations: 80.34 kB / 0.85 GB, free: 2.328 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.1877, allocations: 4.656 kB / 0.85 GB, free: 2.324 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.145e-05/0.1877, allocations: 8 kB / 0.85 GB, free: 2.316 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.934e-05/0.1878, allocations: 32.5 kB / 0.8501 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1879, allocations: 55.77 kB / 0.8501 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1882, allocations: 96.2 kB / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1882, allocations: 0.5938 kB / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1882, allocations: 0 / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1882, allocations: 0.5 kB / 0.8502 GB, free: 2.137 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.001215/0.1894, allocations: 391.2 kB / 0.8506 GB, free: 1.723 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.1895, allocations: 11.97 kB / 0.8506 GB, free: 1.711 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.1896, allocations: 18.78 kB / 0.8506 GB, free: 1.695 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1899, allocations: 154.8 kB / 0.8508 GB, free: 1.52 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.19, allocations: 8.375 kB / 0.8508 GB, free: 1.512 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.19, allocations: 12.12 kB / 0.8508 GB, free: 1.5 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.1904, allocations: 101.7 kB / 0.8509 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1904, allocations: 0 / 0.8509 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1904, allocations: 0 / 0.8509 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1904, allocations: 4.75 kB / 0.8509 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.1908, allocations: 84.5 kB / 0.851 GB, free: 1.312 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.1915, allocations: 278.3 kB / 0.8512 GB, free: 1.012 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.1921, allocations: 134.4 kB / 0.8514 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.1924, allocations: 48.81 kB / 0.8514 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1924, allocations: 10.19 kB / 0.8514 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004278/0.1928, allocations: 111.3 kB / 0.8515 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1928, allocations: 0 / 0.8515 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008603/0.1937, allocations: 202.4 kB / 0.8517 GB, free: 500 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1937, allocations: 56.12 kB / 0.8518 GB, free: 432 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.194, allocations: 154.5 kB / 0.8519 GB, free: 268 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.194, allocations: 32.02 kB / 0.8519 GB, free: 232 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1942, allocations: 108.1 kB / 0.8521 GB, free: 120 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.1942, allocations: 47.62 kB / 0.8521 GB, free: 72 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.1943, allocations: 33.7 kB / 0.8521 GB, free: 32 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.1946, allocations: 330.8 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.1948, allocations: 82.38 kB / 0.8525 GB, free: 15.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.1952, allocations: 202.8 kB / 0.8527 GB, free: 15.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.1957, allocations: 145.4 kB / 0.8529 GB, free: 15.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1957, allocations: 0.75 kB / 0.8529 GB, free: 15.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006758/0.1964, allocations: 240.9 kB / 0.8531 GB, free: 14.98 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.1965, allocations: 37.64 kB / 0.8531 GB, free: 14.94 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1965, allocations: 4.734 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1965, allocations: 4 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1967, allocations: 24.73 kB / 0.8532 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1967, allocations: 0 / 0.8532 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.197, allocations: 28.38 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.197, allocations: 4.75 kB / 0.8532 GB, free: 14.88 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.000163/0.1972, allocations: 126.3 kB / 0.8533 GB, free: 14.74 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1972, allocations: 8.578 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.1978, allocations: 178.2 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1978, allocations: 8.531 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1978, allocations: 0.5 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1978, allocations: 0 / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.1981, allocations: 153.9 kB / 0.8536 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1981, allocations: 0 / 0.8536 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.1983, allocations: 24.47 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1983, allocations: 4.594 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1983, allocations: 4.531 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1983, allocations: 0.5312 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1983, allocations: 0 / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.1992, allocations: 252.7 kB / 0.8539 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.1993, allocations: 20.47 kB / 0.8539 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1993, allocations: 4 kB / 0.8539 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1995, allocations: 17.14 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.1996, allocations: 20 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.1996, allocations: 4.594 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1998, allocations: 121.9 kB / 0.8541 GB, free: 13.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1998, allocations: 0.6875 kB / 0.8541 GB, free: 13.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003611/0.2001, allocations: 32 kB / 0.8541 GB, free: 13.87 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.000202/0.2003, allocations: 104.5 kB / 0.8542 GB, free: 13.76 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.201, allocations: 214.2 kB / 0.8544 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.201, allocations: 0 / 0.8544 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.2013, allocations: 60.45 kB / 0.8545 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.2017, allocations: 50.33 kB / 0.8545 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.203, allocations: 326.6 kB / 0.8548 GB, free: 13.08 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.2031, allocations: 99.27 kB / 0.8549 GB, free: 12.96 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000153/0.2033, allocations: 27.83 kB / 0.855 GB, free: 12.94 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.2033, allocations: 21.17 kB / 0.855 GB, free: 12.92 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.2033, allocations: 0 / 0.855 GB, free: 12.92 MB / 490.8 MB Notification: Performance of Templates: time 0.3667/0.57, allocations: 2.633 MB / 0.8576 GB, free: 28.19 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.665868506068364]