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.001109/0.001109, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001085/0.001085, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.049/1.049, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.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.7968/0.7968, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.693e-06/1.693e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.154e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference): time 0.002511/0.002543, allocations: 1.825 MB / 0.6991 GB, free: 8.555 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.003489, allocations: 0.5419 MB / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.003566, allocations: 0 / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.003699, allocations: 11.86 kB / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.004137, allocations: 75.47 kB / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.004308, allocations: 71.27 kB / 0.6998 GB, free: 7.855 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.004526, allocations: 167.3 kB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.004585, allocations: 5.312 kB / 0.7 GB, free: 7.688 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.004718, allocations: 95.77 kB / 0.7001 GB, free: 7.594 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.004979, allocations: 71.78 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.005006, allocations: 8 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.005027, allocations: 8 kB / 0.7001 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.005099, allocations: 31.89 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.005164, allocations: 39.91 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.005319, allocations: 111.6 kB / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005322, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.005324, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.005331, allocations: 0 / 0.7003 GB, free: 7.328 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.000698/0.006029, allocations: 387.5 kB / 0.7007 GB, free: 6.914 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.006078, allocations: 12.03 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.006139, allocations: 16.78 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.006317, allocations: 150.2 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.006338, allocations: 8.375 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.00637, allocations: 8.375 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.006574, allocations: 94.19 kB / 0.701 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.006585, allocations: 3.938 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.0066, allocations: 0 / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.006607, allocations: 7.984 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.006768, allocations: 79.86 kB / 0.7011 GB, free: 6.512 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.007206, allocations: 292.4 kB / 0.7013 GB, free: 6.195 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.007464, allocations: 130.4 kB / 0.7015 GB, free: 6.059 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.007552, allocations: 52.81 kB / 0.7015 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.007573, allocations: 4 kB / 0.7015 GB, free: 6 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.007801, allocations: 115.2 kB / 0.7016 GB, free: 5.875 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.007804, allocations: 3.938 kB / 0.7016 GB, free: 5.871 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003772/0.008181, allocations: 197.7 kB / 0.7018 GB, free: 5.672 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.008216, allocations: 51.62 kB / 0.7019 GB, free: 5.609 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.008324, allocations: 161 kB / 0.702 GB, free: 5.445 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.00834, allocations: 29.64 kB / 0.702 GB, free: 5.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.008406, allocations: 108.1 kB / 0.7021 GB, free: 5.301 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.008435, allocations: 47.62 kB / 0.7022 GB, free: 5.254 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.008486, allocations: 37.7 kB / 0.7022 GB, free: 5.211 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.008541, allocations: 318.8 kB / 0.7025 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.00866, allocations: 85.66 kB / 0.7026 GB, free: 4.801 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.008802, allocations: 211.7 kB / 0.7028 GB, free: 4.559 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.00897, allocations: 140.7 kB / 0.7029 GB, free: 4.414 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.008974, allocations: 7.938 kB / 0.703 GB, free: 4.406 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002548/0.009229, allocations: 236.8 kB / 0.7032 GB, free: 4.156 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.009262, allocations: 29.7 kB / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.009269, allocations: 0 / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.009291, allocations: 11.98 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.009411, allocations: 31.92 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.00942, allocations: 0 / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.009502, allocations: 15.92 kB / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.009515, allocations: 4 kB / 0.7033 GB, free: 4.059 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.39e-05/0.009589, allocations: 130.4 kB / 0.7034 GB, free: 3.922 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.009604, allocations: 11.91 kB / 0.7034 GB, free: 3.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.009871, allocations: 178.2 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.009875, allocations: 4.047 kB / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.009882, allocations: 3.984 kB / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.009887, allocations: 0 / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.009993, allocations: 149.2 kB / 0.7037 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009995, allocations: 3.938 kB / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.01009, allocations: 27.97 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.0101, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01011, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01011, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01011, allocations: 4 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.01044, allocations: 252.9 kB / 0.704 GB, free: 3.254 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.01047, allocations: 19.86 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01049, allocations: 0 / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.01054, allocations: 15.98 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.01061, allocations: 11.97 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01062, allocations: 8 kB / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.01068, allocations: 131 kB / 0.7042 GB, free: 3.07 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01068, allocations: 4 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001456/0.01082, allocations: 32 kB / 0.7042 GB, free: 3.035 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.000115/0.01094, allocations: 99.25 kB / 0.7043 GB, free: 2.926 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.01122, allocations: 215.3 kB / 0.7045 GB, free: 2.699 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01122, allocations: 0 / 0.7045 GB, free: 2.699 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.01131, allocations: 67.88 kB / 0.7046 GB, free: 2.633 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01154, allocations: 47.89 kB / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.01209, allocations: 335.2 kB / 0.7049 GB, free: 2.227 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.465e-05/0.01215, allocations: 97.81 kB / 0.705 GB, free: 2.113 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.0122, allocations: 16.5 kB / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of SimCode: time 7.32e-07/0.0122, allocations: 0 / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of Templates: time 0.002895/0.01509, allocations: 2.059 MB / 0.7071 GB, free: 60 kB / 410.8 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7544573694467545]