Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_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.002533/0.002533, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002687/0.002687, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.646/1.646, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.345/1.345, allocations: 292.9 MB / 0.5392 GB, free: 50.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.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.934e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference): time 0.002442/0.002471, allocations: 1.812 MB / 0.7017 GB, free: 6.727 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.003362, allocations: 0.5419 MB / 0.7022 GB, free: 6.18 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.003424, allocations: 8 kB / 0.7022 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.434e-05/0.003518, allocations: 11.86 kB / 0.7022 GB, free: 6.16 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.003863, allocations: 67.47 kB / 0.7023 GB, free: 6.094 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.004036, allocations: 70.89 kB / 0.7023 GB, free: 6.027 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.00423, allocations: 167.3 kB / 0.7025 GB, free: 5.863 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.004279, allocations: 5.312 kB / 0.7025 GB, free: 5.859 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.004403, allocations: 91.78 kB / 0.7026 GB, free: 5.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.004618, allocations: 79.77 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.004645, allocations: 8 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.004671, allocations: 4 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.004727, allocations: 31.91 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.004786, allocations: 51.77 kB / 0.7028 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.004932, allocations: 99.67 kB / 0.7028 GB, free: 5.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004935, allocations: 0 / 0.7028 GB, free: 5.5 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004936, allocations: 4 kB / 0.7029 GB, free: 5.496 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.00494, allocations: 4 kB / 0.7029 GB, free: 5.492 MB / 410.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.0007062/0.005646, allocations: 387.5 kB / 0.7032 GB, free: 5.078 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.005678, allocations: 12.03 kB / 0.7032 GB, free: 5.066 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.00573, allocations: 16.78 kB / 0.7033 GB, free: 5.051 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.005901, allocations: 154.2 kB / 0.7034 GB, free: 4.875 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.005917, allocations: 4.375 kB / 0.7034 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.005949, allocations: 12.38 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.00618, allocations: 90.19 kB / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006189, allocations: 7.875 kB / 0.7035 GB, free: 4.758 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.006203, allocations: 8 kB / 0.7035 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.006207, allocations: 0 / 0.7035 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.006465, allocations: 83.91 kB / 0.7036 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.006894, allocations: 276.4 kB / 0.7039 GB, free: 4.367 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.007241, allocations: 138.4 kB / 0.704 GB, free: 4.223 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.007383, allocations: 56.75 kB / 0.704 GB, free: 4.164 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.007398, allocations: 224 / 0.704 GB, free: 4.164 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.007642, allocations: 123.2 kB / 0.7042 GB, free: 4.031 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.007643, allocations: 0 / 0.7042 GB, free: 4.031 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005389/0.008182, allocations: 193.7 kB / 0.7043 GB, free: 3.836 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.008208, allocations: 55.41 kB / 0.7044 GB, free: 3.77 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.00832, allocations: 160.9 kB / 0.7046 GB, free: 3.605 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.008337, allocations: 33.7 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.008385, allocations: 100.1 kB / 0.7047 GB, free: 3.465 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.008415, allocations: 43.64 kB / 0.7047 GB, free: 3.422 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.008478, allocations: 37.7 kB / 0.7048 GB, free: 3.379 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.00853, allocations: 326.8 kB / 0.7051 GB, free: 3.051 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.008708, allocations: 81.66 kB / 0.7051 GB, free: 2.965 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.008903, allocations: 202.1 kB / 0.7053 GB, free: 2.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.009178, allocations: 142.1 kB / 0.7055 GB, free: 2.586 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.009181, allocations: 3.938 kB / 0.7055 GB, free: 2.582 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003816/0.009562, allocations: 240.8 kB / 0.7057 GB, free: 2.328 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.009587, allocations: 37.7 kB / 0.7057 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.009592, allocations: 0 / 0.7057 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.009606, allocations: 0 / 0.7057 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.009783, allocations: 31.97 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.009788, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.009956, allocations: 23.92 kB / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.009971, allocations: 4 kB / 0.7058 GB, free: 2.227 MB / 410.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 7.853e-05/0.01005, allocations: 126.4 kB / 0.7059 GB, free: 2.094 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.01007, allocations: 15.91 kB / 0.7059 GB, free: 2.078 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.01045, allocations: 173.3 kB / 0.7061 GB, free: 1.91 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01046, allocations: 3.984 kB / 0.7061 GB, free: 1.906 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01046, allocations: 7.938 kB / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01046, allocations: 0 / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.01058, allocations: 145.2 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01058, allocations: 3.938 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.01075, allocations: 27.97 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01075, allocations: 0 / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.01076, allocations: 4 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01077, allocations: 7.938 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01077, allocations: 0 / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.01129, allocations: 250.3 kB / 0.7065 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.01132, allocations: 23.8 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.01135, allocations: 4 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01148, allocations: 11.98 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.01156, allocations: 15.97 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01157, allocations: 4 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.775e-05/0.01164, allocations: 123.1 kB / 0.7067 GB, free: 1.242 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01164, allocations: 0 / 0.7067 GB, free: 1.242 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002032/0.01185, allocations: 32 kB / 0.7067 GB, free: 1.211 MB / 410.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.0001148/0.01196, allocations: 115.2 kB / 0.7068 GB, free: 1.086 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.01236, allocations: 209 kB / 0.707 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01236, allocations: 0 / 0.707 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.01253, allocations: 63.89 kB / 0.7071 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01282, allocations: 43.89 kB / 0.7072 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.01344, allocations: 305.5 kB / 0.7074 GB, free: 444 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.364e-05/0.01351, allocations: 101.8 kB / 0.7075 GB, free: 324 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.447e-05/0.01359, allocations: 17.48 kB / 0.7076 GB, free: 304 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.01365, allocations: 24.48 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of SimCode: time 3.1e-07/0.01365, allocations: 4 kB / 0.7076 GB, free: 276 kB / 410.8 MB Notification: Performance of Templates: time 0.006587/0.02023, allocations: 2.505 MB / 0.71 GB, free: 13.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.863232247065753]