Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_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.001119/0.001119, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001773/0.002892, allocations: 440 kB / 10.41 MB, free: 284 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.001175/0.001175, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002878, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.027/1.027, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09747/1.125, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7962/0.7962, allocations: 291.2 MB / 0.5228 GB, free: 52.53 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03159/0.8278, allocations: 21.05 MB / 0.5433 GB, free: 31.54 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.MercuricChloride.MercuricChloride_Sundberg1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5447 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.6e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference): time 0.001806/0.001822, allocations: 1.957 MB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.002489, allocations: 0.5754 MB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.002541, allocations: 4 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.211e-05/0.002593, allocations: 11.86 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.002817, allocations: 63.48 kB / 0.5473 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.002945, allocations: 71.77 kB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.003104, allocations: 168 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.003142, allocations: 9.953 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.003271, allocations: 111.8 kB / 0.5476 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.003441, allocations: 75.78 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.003462, allocations: 4 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.003482, allocations: 8 kB / 0.5477 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.003525, allocations: 27.92 kB / 0.5477 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.003563, allocations: 27.94 kB / 0.5478 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003667, allocations: 79.61 kB / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.003677, allocations: 8 kB / 0.5479 GB, free: 26.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003678, allocations: 0 / 0.5479 GB, free: 26.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.003686, allocations: 0 / 0.5479 GB, free: 26.9 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.000472/0.004157, allocations: 384.2 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.004187, allocations: 11.89 kB / 0.5482 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.004223, allocations: 16.92 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.004349, allocations: 160.9 kB / 0.5484 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.004364, allocations: 8.375 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.004386, allocations: 12.31 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.004494, allocations: 73.03 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.004501, allocations: 3.938 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004509, allocations: 4 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004514, allocations: 0 / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.034e-05/0.004555, allocations: 23.97 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.004782, allocations: 193.9 kB / 0.5487 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.004884, allocations: 118.9 kB / 0.5488 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.004909, allocations: 16.86 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.004923, allocations: 7.984 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.005024, allocations: 94.44 kB / 0.5489 GB, free: 25.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.005025, allocations: 3.938 kB / 0.5489 GB, free: 25.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001354/0.00516, allocations: 89.59 kB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.00518, allocations: 55.41 kB / 0.5491 GB, free: 25.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.89e-05/0.005239, allocations: 146.6 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.005251, allocations: 33.7 kB / 0.5492 GB, free: 25.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.005281, allocations: 92.08 kB / 0.5493 GB, free: 25.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.005303, allocations: 47.61 kB / 0.5494 GB, free: 25.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.005343, allocations: 45.64 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.00538, allocations: 326.8 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.005414, allocations: 40.53 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.005465, allocations: 161.2 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.005519, allocations: 84.17 kB / 0.55 GB, free: 24.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005521, allocations: 3.984 kB / 0.55 GB, free: 24.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.786e-05/0.005609, allocations: 147.8 kB / 0.5502 GB, free: 24.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.005634, allocations: 36.36 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005639, allocations: 1.75 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.00565, allocations: 4 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.005751, allocations: 31.98 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.005754, allocations: 0 / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.005818, allocations: 15.98 kB / 0.5502 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.005826, allocations: 4 kB / 0.5502 GB, free: 24.22 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.69e-05/0.005873, allocations: 124.6 kB / 0.5504 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.005886, allocations: 11.94 kB / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.005979, allocations: 94.42 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.005982, allocations: 8 kB / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.005983, allocations: 0 / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.005987, allocations: 3.984 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.744e-05/0.006055, allocations: 97.75 kB / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006055, allocations: 0 / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.006123, allocations: 27.92 kB / 0.5506 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.006137, allocations: 15.2 kB / 0.5506 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.006139, allocations: 3.938 kB / 0.5506 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.00615, allocations: 0 / 0.5506 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.00615, allocations: 4 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006151, allocations: 0 / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.006269, allocations: 147.3 kB / 0.5508 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.006285, allocations: 7.875 kB / 0.5508 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.006329, allocations: 11.98 kB / 0.5508 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.006364, allocations: 15.92 kB / 0.5508 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.006369, allocations: 3.984 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.711e-05/0.006396, allocations: 43.12 kB / 0.5508 GB, free: 23.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006396, allocations: 0 / 0.5508 GB, free: 23.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001074/0.006504, allocations: 32 kB / 0.5509 GB, free: 23.53 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 5.938e-05/0.006563, allocations: 92.38 kB / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.006679, allocations: 145.9 kB / 0.5511 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.006684, allocations: 0 / 0.5511 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.006732, allocations: 48.72 kB / 0.5511 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.006915, allocations: 377 kB / 0.5515 GB, free: 22.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.009305, allocations: 354.2 kB / 0.5518 GB, free: 22.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.12e-05/0.009326, allocations: 67.84 kB / 0.5519 GB, free: 22.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.732e-05/0.009383, allocations: 21.52 kB / 0.5519 GB, free: 22.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.009485, allocations: 91.34 kB / 0.552 GB, free: 22.21 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009485, allocations: 0 / 0.552 GB, free: 22.21 MB / 410.7 MB Notification: Performance of Templates: time 0.003452/0.01294, allocations: 2.759 MB / 0.5547 GB, free: 19.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3998743994161487]