Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_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.0007775/0.0007775, allocations: 92.42 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.0008963/0.0008963, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.9654/0.9654, allocations: 177.1 MB / 203.5 MB, free: 5.781 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.7789/0.7789, allocations: 291.2 MB / 0.5382 GB, free: 51.74 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_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.846e-05, allocations: 6.281 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference): time 0.0019/0.001929, allocations: 1.81 MB / 0.6991 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006211/0.00255, allocations: 0.5419 MB / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.002593, allocations: 4 kB / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.709e-05/0.00266, allocations: 15.84 kB / 0.6997 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.002899, allocations: 75.47 kB / 0.6998 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.003007, allocations: 63.41 kB / 0.6998 GB, free: 7.844 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.003141, allocations: 171.3 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.003175, allocations: 1.312 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.003263, allocations: 95.77 kB / 0.7001 GB, free: 7.582 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.00342, allocations: 79.78 kB / 0.7002 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.003439, allocations: 8 kB / 0.7002 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.003453, allocations: 4 kB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.003498, allocations: 39.88 kB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.003546, allocations: 39.86 kB / 0.7002 GB, free: 7.414 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.003652, allocations: 95.67 kB / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003654, allocations: 8 kB / 0.7003 GB, free: 7.312 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003654, allocations: 0 / 0.7003 GB, free: 7.312 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.003658, allocations: 0 / 0.7003 GB, free: 7.312 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.0004149/0.004073, allocations: 391.5 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.004103, allocations: 12.02 kB / 0.7007 GB, free: 6.883 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.004136, allocations: 20.78 kB / 0.7007 GB, free: 6.863 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.004244, allocations: 145 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.004256, allocations: 8.375 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.004275, allocations: 4.375 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.004412, allocations: 98.17 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.004418, allocations: 7.938 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.004428, allocations: 4 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.004431, allocations: 0 / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.004566, allocations: 79.86 kB / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.004848, allocations: 292.4 kB / 0.7014 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.005055, allocations: 134.4 kB / 0.7015 GB, free: 6.039 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.00514, allocations: 52.83 kB / 0.7015 GB, free: 5.984 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.005152, allocations: 4 kB / 0.7015 GB, free: 5.98 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.005289, allocations: 115.2 kB / 0.7016 GB, free: 5.855 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 8.81e-07/0.00529, allocations: 4.156 kB / 0.7016 GB, free: 5.852 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0002873/0.005578, allocations: 193.7 kB / 0.7018 GB, free: 5.656 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.005595, allocations: 55.34 kB / 0.7019 GB, free: 5.59 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.005667, allocations: 161 kB / 0.702 GB, free: 5.426 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.005679, allocations: 33.69 kB / 0.7021 GB, free: 5.387 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.005713, allocations: 104.1 kB / 0.7022 GB, free: 5.281 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.005737, allocations: 43.62 kB / 0.7022 GB, free: 5.238 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.005776, allocations: 41.7 kB / 0.7023 GB, free: 5.191 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.101e-05/0.005807, allocations: 322.8 kB / 0.7026 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.0059, allocations: 85.66 kB / 0.7026 GB, free: 4.777 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.00601, allocations: 206 kB / 0.7028 GB, free: 4.539 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.006158, allocations: 141.5 kB / 0.703 GB, free: 4.395 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.006161, allocations: 7.938 kB / 0.703 GB, free: 4.387 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002019/0.006363, allocations: 236.8 kB / 0.7032 GB, free: 4.137 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.006384, allocations: 37.69 kB / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006388, allocations: 0 / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.006398, allocations: 0 / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.006488, allocations: 27.92 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006493, allocations: 0 / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.00657, allocations: 23.92 kB / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.006579, allocations: 8 kB / 0.7033 GB, free: 4.035 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.376e-05/0.006632, allocations: 127 kB / 0.7034 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.006644, allocations: 15.91 kB / 0.7034 GB, free: 3.887 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.006846, allocations: 174 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.006849, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.006853, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006856, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.572e-05/0.006932, allocations: 153.2 kB / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.006933, allocations: 3.938 kB / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.007006, allocations: 31.97 kB / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007008, allocations: 0 / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.007016, allocations: 4 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.007017, allocations: 0 / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007018, allocations: 0 / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.007287, allocations: 252.9 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.007302, allocations: 15.88 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.007317, allocations: 4.062 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.007368, allocations: 15.98 kB / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.007414, allocations: 19.91 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.007421, allocations: 4 kB / 0.7041 GB, free: 3.176 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.007464, allocations: 127 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007464, allocations: 0 / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001281/0.007592, allocations: 32 kB / 0.7042 GB, free: 3.02 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 5.63e-05/0.007648, allocations: 103.2 kB / 0.7043 GB, free: 2.906 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.007885, allocations: 219.3 kB / 0.7045 GB, free: 2.676 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007886, allocations: 0 / 0.7045 GB, free: 2.676 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.00797, 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.000165/0.008135, allocations: 43.89 kB / 0.7046 GB, free: 2.574 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.008538, allocations: 348.1 kB / 0.705 GB, free: 2.203 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.008578, 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.284e-05/0.008621, allocations: 20.48 kB / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of SimCode: time 7.31e-07/0.008621, allocations: 0 / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of Templates: time 0.002061/0.01068, allocations: 2.059 MB / 0.7071 GB, free: 40 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.308974247425795]