Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.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.0007679/0.0007679, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009425/0.00171, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.0007052/0.0007052, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000859/0.001564, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.135, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 0.8292/0.8292, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03564/0.8648, allocations: 21.05 MB / 0.5432 GB, free: 31.73 MB / 410.7 MB " [Timeout remaining time 179] 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.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.092e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide): time 0.003214/0.003245, allocations: 1.972 MB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.004217, allocations: 0.5756 MB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.004293, allocations: 4 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.412e-05/0.004357, allocations: 15.86 kB / 0.5472 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.004658, allocations: 67.47 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.004866, allocations: 67.77 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.00512, allocations: 168 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.00518, allocations: 5.969 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.005387, allocations: 107.8 kB / 0.5475 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.005623, allocations: 83.75 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.005654, allocations: 8 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.005681, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.005734, allocations: 15.94 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.005789, allocations: 31.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.005934, allocations: 79.62 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.005948, allocations: 4 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005949, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.005964, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 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.0006695/0.006633, allocations: 388.1 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.006672, allocations: 8.031 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.006726, allocations: 16.92 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.006913, allocations: 154.8 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.006936, allocations: 8.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.006968, allocations: 12.38 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.007154, allocations: 80.95 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.007164, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.007175, allocations: 7.984 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.007183, allocations: 4 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.007239, allocations: 15.98 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.007573, allocations: 189.9 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.007717, allocations: 118.9 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.007758, allocations: 28.84 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.007781, allocations: 7.938 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.007936, allocations: 90.23 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.007939, allocations: 0 / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001981/0.008137, allocations: 81.66 kB / 0.5489 GB, free: 25.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.008169, allocations: 55.34 kB / 0.549 GB, free: 25.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.008271, allocations: 154.8 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.008288, allocations: 25.7 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.008327, allocations: 108 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.008362, allocations: 47.61 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.008423, allocations: 37.66 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.008494, allocations: 326.8 kB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.008552, allocations: 48.52 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.00863, allocations: 154.1 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.008718, allocations: 80.16 kB / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00872, allocations: 0 / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001422/0.008862, allocations: 154.6 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.008898, allocations: 41.69 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.008907, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.008919, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.00906, allocations: 27.98 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.009064, allocations: 0 / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.00916, allocations: 15.98 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.009173, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 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 6.58e-05/0.009238, allocations: 120.6 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.009259, allocations: 15.92 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.009404, allocations: 94.42 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009407, allocations: 4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.00941, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.009415, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.009522, allocations: 105.8 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009525, allocations: 3.062 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.00964, allocations: 27.92 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.009659, allocations: 7.953 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.009665, allocations: 3.938 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.009682, allocations: 7.984 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.009684, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009685, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.009869, allocations: 135.3 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.009894, allocations: 11.94 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.00997, allocations: 7.984 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.01002, allocations: 15.97 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.01003, allocations: 4 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.01008, allocations: 43.92 kB / 0.5507 GB, free: 23.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01008, allocations: 3.938 kB / 0.5507 GB, free: 23.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000194/0.01027, allocations: 32 kB / 0.5508 GB, free: 23.73 MB / 410.7 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 9.158e-05/0.01037, allocations: 92.33 kB / 0.5509 GB, free: 23.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.01054, allocations: 149.9 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.01055, allocations: 0 / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.01062, allocations: 40.78 kB / 0.551 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01084, allocations: 53.11 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.01472, allocations: 358.2 kB / 0.5514 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.01476, allocations: 67.84 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.01483, allocations: 17.48 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01493, allocations: 95.28 kB / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01494, allocations: 0 / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003832/0.01877, allocations: 2.735 MB / 0.5543 GB, free: 20.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.65050545334816]