Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_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.001281/0.001281, 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.001352/0.001352, allocations: 166.3 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 0.9312/0.9312, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7476/0.7476, allocations: 291.2 MB / 0.5382 GB, free: 51.34 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.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.616e-05, allocations: 6.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference): time 0.001901/0.001927, allocations: 1.817 MB / 0.6992 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006602/0.002588, allocations: 0.5497 MB / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.002649, allocations: 0 / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.002754, allocations: 11.86 kB / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.003122, allocations: 71.47 kB / 0.6998 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.003269, allocations: 67.77 kB / 0.6998 GB, free: 7.844 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.003462, allocations: 171.3 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.003508, allocations: 5.312 kB / 0.7 GB, free: 7.672 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.003626, allocations: 87.78 kB / 0.7001 GB, free: 7.586 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.003861, allocations: 75.77 kB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.003888, allocations: 12 kB / 0.7002 GB, free: 7.5 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.003908, allocations: 8 kB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.003976, allocations: 35.89 kB / 0.7002 GB, free: 7.457 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.004031, allocations: 39.91 kB / 0.7003 GB, free: 7.418 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.004167, allocations: 103.6 kB / 0.7004 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.004169, allocations: 0 / 0.7004 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00417, allocations: 0 / 0.7004 GB, free: 7.316 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.004174, allocations: 0 / 0.7004 GB, free: 7.316 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.000499/0.004673, allocations: 395.5 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.004707, allocations: 8.031 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.004745, allocations: 16.84 kB / 0.7008 GB, free: 6.871 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.004873, allocations: 150.1 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004884, allocations: 8.375 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.004907, allocations: 12.38 kB / 0.7009 GB, free: 6.68 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.005054, allocations: 94.19 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.005061, allocations: 3.938 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005073, allocations: 4 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005077, allocations: 4 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.005217, allocations: 87.84 kB / 0.7011 GB, free: 6.484 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.005523, allocations: 280.4 kB / 0.7014 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.005727, allocations: 130.4 kB / 0.7015 GB, free: 6.043 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.005803, allocations: 52.81 kB / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.005816, allocations: 0 / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.005966, allocations: 119.3 kB / 0.7017 GB, free: 5.859 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.005967, allocations: 0 / 0.7017 GB, free: 5.859 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003154/0.006282, allocations: 201.4 kB / 0.7019 GB, free: 5.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.006304, allocations: 55.41 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.006386, allocations: 157.2 kB / 0.7021 GB, free: 5.434 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006397, allocations: 29.7 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.006433, allocations: 112 kB / 0.7022 GB, free: 5.285 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.006455, allocations: 51.62 kB / 0.7022 GB, free: 5.234 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.006495, allocations: 37.7 kB / 0.7023 GB, free: 5.191 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.006526, allocations: 322.8 kB / 0.7026 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.006622, allocations: 81.66 kB / 0.7027 GB, free: 4.781 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.006732, allocations: 206 kB / 0.7029 GB, free: 4.543 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.006882, allocations: 144.7 kB / 0.703 GB, free: 4.395 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006884, allocations: 3.938 kB / 0.703 GB, free: 4.391 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002153/0.0071, allocations: 240.8 kB / 0.7032 GB, free: 4.137 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.007118, allocations: 29.7 kB / 0.7033 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007122, allocations: 0 / 0.7033 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.007133, allocations: 0 / 0.7033 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.007224, allocations: 35.91 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.007228, allocations: 0 / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.007302, allocations: 19.92 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.007312, allocations: 4 kB / 0.7033 GB, free: 4.043 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 5.096e-05/0.007363, allocations: 129.8 kB / 0.7034 GB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.007374, allocations: 15.91 kB / 0.7035 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.007584, allocations: 170.3 kB / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007585, allocations: 0 / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007589, allocations: 4 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007592, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.67e-05/0.007668, allocations: 145.2 kB / 0.7038 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.00767, allocations: 3.938 kB / 0.7038 GB, free: 3.543 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.918e-05/0.007749, allocations: 27.98 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.007752, allocations: 7.984 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.007762, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.007762, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007763, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.008042, allocations: 247.6 kB / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.008057, allocations: 23.91 kB / 0.7041 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.008075, allocations: 11.98 kB / 0.7041 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.008127, allocations: 12.05 kB / 0.7041 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.008179, allocations: 19.97 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.008187, allocations: 4 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.449e-05/0.008232, allocations: 123.1 kB / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008232, allocations: 3.938 kB / 0.7042 GB, free: 3.055 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00013/0.008362, allocations: 28 kB / 0.7043 GB, free: 3.027 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 6.217e-05/0.008424, allocations: 103.2 kB / 0.7043 GB, free: 2.914 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.008652, allocations: 223.3 kB / 0.7046 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.008653, allocations: 3.938 kB / 0.7046 GB, free: 2.676 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.008737, allocations: 59.89 kB / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.008916, allocations: 43.83 kB / 0.7047 GB, free: 2.574 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.009343, allocations: 351 kB / 0.705 GB, free: 2.203 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.009382, allocations: 89.81 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.009427, allocations: 20.5 kB / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.009427, allocations: 0 / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of Templates: time 0.002315/0.01174, allocations: 2.057 MB / 0.7071 GB, free: 36 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.525365366600454]