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.0007055/0.0007055, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009105/0.001616, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008201/0.0008201, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01021/0.01103, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9516/0.9516, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09074/1.042, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7945/0.7945, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0295/0.824, allocations: 21.05 MB / 0.5432 GB, free: 31.97 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.163e-06/1.163e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.38e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride): time 0.001661/0.001675, allocations: 1.972 MB / 0.5465 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005797/0.002255, allocations: 0.5718 MB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.002298, allocations: 4 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.002342, allocations: 19.86 kB / 0.5471 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.002545, allocations: 63.48 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.00267, allocations: 63.77 kB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.002829, allocations: 176 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.002866, allocations: 9.969 kB / 0.5474 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.00299, allocations: 107.8 kB / 0.5475 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.003156, allocations: 71.78 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.003178, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.003194, allocations: 8 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.003236, allocations: 23.92 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.003277, allocations: 31.94 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003382, allocations: 83.61 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.556e-05/0.003397, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003398, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.003414, allocations: 4 kB / 0.5477 GB, free: 27.33 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.0005008/0.003915, allocations: 388.1 kB / 0.5481 GB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.003942, allocations: 8.031 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.003977, allocations: 12.94 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.004097, allocations: 150.8 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.004114, allocations: 8.359 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.004135, allocations: 16.31 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.004247, allocations: 77.03 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.004255, allocations: 3.938 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004263, allocations: 4 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.004269, allocations: 4 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.004313, allocations: 19.97 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.00455, allocations: 193.9 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.004649, allocations: 122.9 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.004674, allocations: 20.86 kB / 0.5487 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.004688, allocations: 4 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.004801, allocations: 94.23 kB / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.004802, allocations: 0 / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001285/0.004931, allocations: 85.59 kB / 0.5488 GB, free: 26.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.004951, allocations: 51.41 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.005011, allocations: 154.8 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.005022, allocations: 25.7 kB / 0.5491 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.005048, allocations: 100 kB / 0.5492 GB, free: 25.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.005073, allocations: 47.61 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.00511, allocations: 37.64 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.843e-05/0.005139, allocations: 334.8 kB / 0.5496 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.005171, allocations: 48.53 kB / 0.5496 GB, free: 25.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.005219, allocations: 154.1 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.005274, allocations: 78.83 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005276, allocations: 0 / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.915e-05/0.005365, allocations: 158.8 kB / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.005395, allocations: 33.7 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005399, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.005407, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.005511, allocations: 35.98 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.005513, allocations: 0 / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.005579, allocations: 15.98 kB / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.005587, allocations: 4 kB / 0.5501 GB, free: 24.65 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 4.31e-05/0.00563, allocations: 120.6 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.005643, allocations: 15.92 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/0.005738, allocations: 94.42 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.005739, allocations: 0 / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-07/0.00574, allocations: 0 / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.005744, allocations: 7.984 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.528e-05/0.005809, allocations: 105.8 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005811, allocations: 0 / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.005887, allocations: 27.92 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.005901, allocations: 8 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005903, allocations: 7.922 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.005914, allocations: 4 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005915, allocations: 0 / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005916, allocations: 0 / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.006037, allocations: 139.3 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.006054, allocations: 15.97 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/0.006099, allocations: 4 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.006134, allocations: 19.91 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.00614, allocations: 7.312 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.352e-05/0.006164, allocations: 39.11 kB / 0.5507 GB, free: 23.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006164, allocations: 7.938 kB / 0.5507 GB, free: 23.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001057/0.00627, allocations: 28 kB / 0.5507 GB, free: 23.96 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.685e-05/0.006336, allocations: 88.36 kB / 0.5508 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.006451, allocations: 156.4 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.006456, allocations: 4 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.006494, allocations: 36.77 kB / 0.551 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.006628, allocations: 50.94 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.00905, allocations: 354.2 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.146e-05/0.009072, allocations: 71.83 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.076e-05/0.009122, allocations: 17.48 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/0.009217, allocations: 87.34 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009218, allocations: 3.938 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of Templates: time 0.003465/0.01268, allocations: 2.745 MB / 0.5542 GB, free: 20.36 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.226884737610817]