Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.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.001034/0.001034, 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.0009229/0.0009229, 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 0.9766/0.9766, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7671/0.7671, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.333e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury): time 0.002217/0.002251, allocations: 1.833 MB / 0.6991 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.003028, allocations: 0.546 MB / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.003086, allocations: 4 kB / 0.6997 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.698e-05/0.003183, allocations: 15.86 kB / 0.6997 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.003513, allocations: 67.47 kB / 0.6998 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.003648, allocations: 67.66 kB / 0.6998 GB, free: 7.859 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.003819, allocations: 171.3 kB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.003867, allocations: 5.312 kB / 0.7 GB, free: 7.688 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.003976, allocations: 87.78 kB / 0.7001 GB, free: 7.602 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.004185, allocations: 83.75 kB / 0.7002 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.004209, allocations: 8 kB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.004226, allocations: 4 kB / 0.7002 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.004282, allocations: 35.91 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.004333, allocations: 43.84 kB / 0.7002 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.004464, allocations: 95.67 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.004466, allocations: 7.984 kB / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004467, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004472, allocations: 4 kB / 0.7003 GB, free: 7.324 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.0005533/0.005025, allocations: 391.5 kB / 0.7007 GB, free: 6.906 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.005059, allocations: 8.031 kB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.005102, allocations: 16.84 kB / 0.7007 GB, free: 6.883 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005233, allocations: 146.1 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.005246, allocations: 4.375 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.005268, allocations: 8.375 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.005428, allocations: 106.2 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005436, allocations: 7.938 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.005447, allocations: 4 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.005451, allocations: 0 / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.005598, allocations: 79.86 kB / 0.7011 GB, free: 6.504 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.005915, allocations: 280.4 kB / 0.7014 GB, free: 6.199 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.006126, allocations: 142.4 kB / 0.7015 GB, free: 6.051 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.006203, allocations: 52.81 kB / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.006217, allocations: 0 / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.006375, allocations: 119.2 kB / 0.7017 GB, free: 5.867 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.006376, allocations: 0 / 0.7017 GB, free: 5.867 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003254/0.006702, allocations: 193.9 kB / 0.7018 GB, free: 5.672 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.006724, allocations: 59.39 kB / 0.7019 GB, free: 5.602 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.006807, allocations: 159.5 kB / 0.702 GB, free: 5.438 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.006824, allocations: 33.7 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.006859, allocations: 100.1 kB / 0.7022 GB, free: 5.297 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.006879, allocations: 39.64 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.006918, allocations: 41.7 kB / 0.7023 GB, free: 5.211 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.002e-05/0.006948, allocations: 326.8 kB / 0.7026 GB, free: 4.883 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.007042, allocations: 81.66 kB / 0.7026 GB, free: 4.797 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.007148, allocations: 202 kB / 0.7028 GB, free: 4.562 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.007299, allocations: 145 kB / 0.703 GB, free: 4.414 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007302, 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.0002164/0.007518, allocations: 236.8 kB / 0.7032 GB, free: 4.156 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.007539, allocations: 37.69 kB / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007543, allocations: 0 / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.007555, allocations: 0 / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.007643, allocations: 27.92 kB / 0.7033 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007648, allocations: 4 kB / 0.7033 GB, free: 4.082 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.706e-05/0.007725, allocations: 23.92 kB / 0.7033 GB, free: 4.059 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.007735, allocations: 7.984 kB / 0.7033 GB, free: 4.051 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 4.729e-05/0.007782, allocations: 117.8 kB / 0.7034 GB, free: 3.926 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.007793, allocations: 15.91 kB / 0.7034 GB, free: 3.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.008002, allocations: 178.2 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008005, allocations: 0 / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.008009, allocations: 4 kB / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008012, allocations: 0 / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.427e-05/0.008086, allocations: 153.2 kB / 0.7037 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008088, allocations: 3.938 kB / 0.7038 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.008165, allocations: 23.98 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.008166, allocations: 0 / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.008176, allocations: 8 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008177, allocations: 0 / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008178, allocations: 0 / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.008461, allocations: 252.9 kB / 0.704 GB, free: 3.254 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.008477, allocations: 15.88 kB / 0.704 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.008495, allocations: 4 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.008548, allocations: 11.98 kB / 0.7041 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.008599, allocations: 23.91 kB / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.008606, allocations: 3.938 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.657e-05/0.008653, allocations: 125.3 kB / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008653, allocations: 0 / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000129/0.008782, allocations: 32 kB / 0.7042 GB, free: 3.043 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.711e-05/0.008849, allocations: 107.3 kB / 0.7043 GB, free: 2.926 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.009078, 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.173e-06/0.009079, allocations: 0 / 0.7045 GB, free: 2.699 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.009162, allocations: 63.88 kB / 0.7046 GB, free: 2.637 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.009341, allocations: 55.92 kB / 0.7047 GB, free: 2.582 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.009764, allocations: 335.2 kB / 0.705 GB, free: 2.223 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.009806, allocations: 97.8 kB / 0.7051 GB, free: 2.109 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.00985, allocations: 20.5 kB / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of SimCode: time 5.51e-07/0.00985, allocations: 0 / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of Templates: time 0.002139/0.01199, allocations: 2.049 MB / 0.7071 GB, free: 56 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.608495126478374]