Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.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.0006845/0.0006845, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009195/0.001604, 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.000728/0.000728, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001823, 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09099/1.109, allocations: 53.66 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.84/0.84, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03131/0.8713, allocations: 21.04 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.MercuryiChloride.MercuryiChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.117e-06/1.07e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride): time 0.001994/0.002005, allocations: 1.976 MB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006679/0.002673, allocations: 0.5757 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.002725, allocations: 3.938 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.813e-05/0.002773, allocations: 7.922 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.002993, allocations: 71.42 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.003127, allocations: 63.83 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.003305, allocations: 172 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.00335, allocations: 5.969 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.006504, allocations: 115.7 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.006696, allocations: 75.78 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.00672, allocations: 4 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.006742, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.00679, allocations: 27.92 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.006835, allocations: 27.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.006953, allocations: 79.67 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.006964, allocations: 4 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006964, allocations: 0 / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.006978, allocations: 4 kB / 0.5478 GB, free: 27.09 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.0005355/0.007514, allocations: 384.1 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.007541, allocations: 12.03 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.007577, allocations: 12.92 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.007707, allocations: 154.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.007724, allocations: 8.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.007747, allocations: 8.375 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.007871, allocations: 77.03 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.00788, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.00789, allocations: 4 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.007895, allocations: 0 / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.007942, allocations: 23.97 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.008181, allocations: 201.8 kB / 0.5486 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.008292, allocations: 118.9 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.008322, allocations: 20.86 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.008339, allocations: 4 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.00846, allocations: 90.23 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.008462, allocations: 3.938 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000147/0.008609, allocations: 85.66 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.008631, allocations: 55.41 kB / 0.549 GB, free: 25.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.008706, allocations: 146.6 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.00872, allocations: 33.92 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.008747, allocations: 92.08 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.008775, allocations: 51.55 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.008824, allocations: 45.64 kB / 0.5493 GB, free: 25.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.008857, allocations: 326.8 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.008894, allocations: 44.53 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.008953, allocations: 166 kB / 0.5498 GB, free: 24.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.009022, allocations: 76.19 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.009024, allocations: 0 / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000111/0.009135, allocations: 153.3 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.00916, allocations: 33.7 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.009164, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.009173, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/0.01132, allocations: 31.92 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01132, allocations: 4 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.01142, allocations: 15.98 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01143, allocations: 0 / 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 5.447e-05/0.01148, allocations: 124.7 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.0115, allocations: 11.94 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.01162, allocations: 98.36 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01163, allocations: 4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01163, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01163, allocations: 7.984 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.434e-05/0.01172, allocations: 97.75 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.01172, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.01181, allocations: 27.98 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.01182, allocations: 7.953 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01183, allocations: 3.938 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01184, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01184, allocations: 4 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01184, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.01199, allocations: 151.2 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.01201, allocations: 3.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.779e-05/0.01207, allocations: 11.98 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.01211, allocations: 11.98 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.01211, allocations: 7.297 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.389e-05/0.01215, allocations: 43.12 kB / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01215, allocations: 0 / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.01231, allocations: 35.94 kB / 0.5508 GB, free: 23.72 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 6.164e-05/0.01237, allocations: 88.38 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.01251, allocations: 149.9 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.01251, allocations: 0 / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.01257, allocations: 48.77 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.01273, allocations: 50.94 kB / 0.5511 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.01516, allocations: 346.2 kB / 0.5514 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.428e-05/0.01519, allocations: 71.83 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.01524, allocations: 21.52 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.679e-05/0.01534, allocations: 91.28 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01534, allocations: 3.938 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.003533/0.01887, allocations: 2.748 MB / 0.5543 GB, free: 20.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.524691252037883]