Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_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.001152/0.001152, allocations: 88.53 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.001291/0.001291, 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.9965/0.9965, 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.7436/0.7436, allocations: 291.2 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.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.607e-05, allocations: 12.89 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference): time 0.002013/0.002039, allocations: 1.818 MB / 0.6991 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006807/0.00272, allocations: 0.5497 MB / 0.6997 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.002777, allocations: 0 / 0.6997 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.329e-05/0.002861, allocations: 11.86 kB / 0.6997 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.003158, allocations: 71.48 kB / 0.6997 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.003283, allocations: 71.27 kB / 0.6998 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.003441, allocations: 167.3 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.003483, allocations: 9.297 kB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.003588, allocations: 87.78 kB / 0.7001 GB, free: 7.582 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.003785, allocations: 79.78 kB / 0.7001 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.003806, allocations: 8 kB / 0.7002 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.003823, allocations: 8 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.003877, allocations: 31.89 kB / 0.7002 GB, free: 7.457 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.003927, allocations: 39.91 kB / 0.7002 GB, free: 7.418 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.004048, allocations: 103.6 kB / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00405, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.243e-06/0.004051, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.004056, allocations: 0 / 0.7003 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.0005142/0.00457, allocations: 395.5 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.004611, allocations: 8.031 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.004655, allocations: 16.84 kB / 0.7007 GB, free: 6.871 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.004809, allocations: 150.1 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.004824, allocations: 4.375 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.004848, allocations: 12.38 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.005016, allocations: 102.2 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005024, allocations: 3.938 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.005035, allocations: 0 / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.00504, allocations: 8 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.005181, allocations: 79.86 kB / 0.7011 GB, free: 6.488 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.00554, allocations: 284.4 kB / 0.7013 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.005755, allocations: 130.4 kB / 0.7015 GB, free: 6.043 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.761e-05/0.005833, allocations: 52.81 kB / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.005847, allocations: 4 kB / 0.7015 GB, free: 5.984 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.006009, allocations: 115.3 kB / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.006011, allocations: 0 / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003175/0.006329, allocations: 193.6 kB / 0.7018 GB, free: 5.664 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.006354, allocations: 59.39 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.006447, allocations: 159.8 kB / 0.702 GB, free: 5.43 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.00646, allocations: 25.7 kB / 0.702 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.006501, allocations: 112 kB / 0.7022 GB, free: 5.285 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.006522, allocations: 47.58 kB / 0.7022 GB, free: 5.238 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.006564, allocations: 37.7 kB / 0.7022 GB, free: 5.195 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.006599, allocations: 322.8 kB / 0.7025 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.006708, allocations: 81.66 kB / 0.7026 GB, free: 4.785 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.00682, allocations: 202 kB / 0.7028 GB, free: 4.551 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.006974, allocations: 144.4 kB / 0.703 GB, free: 4.402 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.006977, allocations: 7.938 kB / 0.703 GB, free: 4.395 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002228/0.0072, allocations: 244.8 kB / 0.7032 GB, free: 4.137 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.007224, allocations: 29.7 kB / 0.7032 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.007229, allocations: 0 / 0.7032 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.007242, allocations: 4 kB / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.007341, allocations: 27.92 kB / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.007346, allocations: 3.984 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.007424, allocations: 19.97 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.007434, allocations: 7.984 kB / 0.7033 GB, free: 4.039 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 6.011e-05/0.007494, allocations: 130.4 kB / 0.7034 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.007507, allocations: 11.91 kB / 0.7034 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.00775, allocations: 173.2 kB / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.007754, allocations: 4 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.007758, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.007763, allocations: 3.984 kB / 0.7036 GB, free: 3.715 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.062e-05/0.007854, allocations: 149.2 kB / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.007856, allocations: 3.938 kB / 0.7037 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.007945, allocations: 27.98 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.007948, allocations: 4 kB / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.007958, allocations: 0 / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.007961, allocations: 3.984 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.007963, allocations: 0 / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.008273, allocations: 248.9 kB / 0.704 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.008292, allocations: 19.88 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.008312, allocations: 4.047 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.008368, allocations: 19.98 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.008423, allocations: 7.984 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.008433, allocations: 7.984 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.008482, allocations: 125.8 kB / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.008482, allocations: 3.938 kB / 0.7042 GB, free: 3.055 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001436/0.008625, allocations: 32 kB / 0.7042 GB, free: 3.023 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.0001002/0.008726, allocations: 99.25 kB / 0.7043 GB, free: 2.914 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.008978, allocations: 223.3 kB / 0.7045 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008979, allocations: 0 / 0.7045 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.009067, allocations: 63.83 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.0001996/0.009267, allocations: 47.89 kB / 0.7046 GB, free: 2.57 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.009749, allocations: 338.9 kB / 0.705 GB, free: 2.211 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.009795, allocations: 97.8 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.009843, allocations: 16.5 kB / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of SimCode: time 6.81e-07/0.009843, allocations: 0 / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of Templates: time 0.002647/0.01249, allocations: 2.06 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_Sauder1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.617275112308562]